1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 14:57:37 +02:00

[ticket/15692] Modify condition

PHPBB3-15692
This commit is contained in:
Rubén Calvo
2018-06-21 05:11:31 +02:00
parent d65e60d1a6
commit d40bda0e08

View File

@@ -155,7 +155,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) : true)); return ($this->is_tracked($path) && !$full_check || $this->get_adapter()->exists($path));
} }
/** /**