mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fix error when linking to new entry
"Invalid datetime format: 1366 Incorrect integer value: '#97056a438e3c1ab04fd0f0ae46ad6b13' for column ... fs_dir"
This commit is contained in:
parent
6df143f3ca
commit
4f0c7250da
@ -439,7 +439,7 @@ class StreamWrapper extends LinksParent
|
|||||||
$parent = new \EGroupware\Api\Vfs\Links\LinksParent($target);
|
$parent = new \EGroupware\Api\Vfs\Links\LinksParent($target);
|
||||||
if (!$parent->url_stat($dir = Vfs::dirname($link),0) && $this->check_extended_acl($dir,Vfs::WRITABLE))
|
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);
|
return parent::symlink($target,$link);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user