From de63a58b832c3068eb5a910877b43ae371063db8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Nov 2009 15:12:26 +0000 Subject: [PATCH] fixed bug: superuser clicking [apply] twice in file preferences deleted file or directory --- filemanager/inc/class.filemanager_ui.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 3a18a8a871..7c054bb820 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -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') {