mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[ticket/15692] Modify condition
PHPBB3-15692
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user