mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
fixed bug: superuser clicking [apply] twice in file preferences deleted file or directory
This commit is contained in:
parent
c8323fc034
commit
de63a58b83
@ -740,7 +740,8 @@ class filemanager_ui
|
||||
{
|
||||
if (isset($content[$name]) && ($old_value != $content[$name] ||
|
||||
// do not check for modification, if modify_subs is checked!
|
||||
$content['modify_subs'] && in_array($name,array('uid','gid','perms'))) && $name != 'uid' || egw_vfs::$is_root)
|
||||
$content['modify_subs'] && in_array($name,array('uid','gid','perms'))) &&
|
||||
($name != 'uid' || egw_vfs::$is_root))
|
||||
{
|
||||
if ($name == 'name')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user