diff --git a/phpBB/phpbb/storage/storage.php b/phpBB/phpbb/storage/storage.php index 98cecb5936..1f22090745 100644 --- a/phpBB/phpbb/storage/storage.php +++ b/phpBB/phpbb/storage/storage.php @@ -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))); } /**