Add missing negation from commit 600872a4bf

This commit is contained in:
Hadi Nategh 2018-03-15 12:23:43 +01:00
parent df649f1acc
commit 65b2588d65

View File

@ -456,7 +456,7 @@ class Sharing
if (($exists = ($stat = Vfs::stat($path)) && Vfs::check_access($path, Vfs::READABLE, $stat)))
{
if (preg_match("/^(sqlfs|vfs)/", $stat['url']))
if (!preg_match("/^(sqlfs|vfs)/", $stat['url']))
{
$vfs_path = Vfs::parse_url($path, PHP_URL_PATH);
}