Fix error when linking to new entry

"Invalid datetime format: 1366 Incorrect integer value: '#97056a438e3c1ab04fd0f0ae46ad6b13' for column ... fs_dir"
This commit is contained in:
nathangray 2021-04-15 10:25:18 -06:00
parent 6df143f3ca
commit 4f0c7250da

View File

@ -439,7 +439,7 @@ class StreamWrapper extends LinksParent
$parent = new \EGroupware\Api\Vfs\Links\LinksParent($target);
if (!$parent->url_stat($dir = Vfs::dirname($link),0) && $this->check_extended_acl($dir,Vfs::WRITABLE))
{
$parent->mkdir($dir,0,STREAM_MKDIR_RECURSIVE);
$this->mkdir($dir,0,STREAM_MKDIR_RECURSIVE);
}
return parent::symlink($target,$link);
}