[ticket/15692] Fix full_check in exist method

PHPBB3-15692
This commit is contained in:
Rubén Calvo 2018-08-09 02:28:58 +02:00
parent d5df62597b
commit 0c1bf3c561

View file

@ -146,7 +146,7 @@ class storage
*/
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)));
}
/**