From 0c1bf3c561beb7892a7fe008e27742784e420d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Thu, 9 Aug 2018 02:28:58 +0200 Subject: [PATCH] [ticket/15692] Fix full_check in exist method PHPBB3-15692 --- phpBB/phpbb/storage/storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); } /**