mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
"fixed not working rename of dirs in the old vfs"
This commit is contained in:
parent
066578711f
commit
e71d16ed28
@ -1980,7 +1980,11 @@
|
||||
// if the modification time get's set, we also set it in the filesystem, as
|
||||
// the next reload reset it again to the modification time of the filesystem
|
||||
case 'modified':
|
||||
touch($p->real_full_path,$data['attributes'][$attribute]);
|
||||
// we only set it if the file already exists, as otherwise renames of directories fail
|
||||
if (file_exists($p->real_full_path) && $data['attributes'][$attribute])
|
||||
{
|
||||
touch($p->real_full_path,$data['attributes'][$attribute]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user