[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));
} }
/** /**