mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fixed bug: superuser clicking [apply] twice in file preferences deleted file or directory
This commit is contained in:
parent
ad137415aa
commit
611c36026f
@ -638,7 +638,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