mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15692] Modify condition
PHPBB3-15692
This commit is contained in:
parent
d65e60d1a6
commit
d40bda0e08
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue