fixed bug: superuser clicking [apply] twice in file preferences deleted file or directory

This commit is contained in:
Ralf Becker 2009-11-28 15:12:26 +00:00
parent c8323fc034
commit de63a58b83

View File

@ -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')
{