mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/15692] Fix full_check in exist method
PHPBB3-15692
This commit is contained in:
@@ -146,7 +146,7 @@ class storage
|
|||||||
*/
|
*/
|
||||||
public function exists($path, $full_check = false)
|
public function exists($path, $full_check = false)
|
||||||
{
|
{
|
||||||
return ($this->is_tracked($path) && !$full_check || $this->get_adapter()->exists($path));
|
return ($this->is_tracked($path) && (!$full_check || $this->get_adapter()->exists($path)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user