"fix for bug #1817: extended ACL can not be deleted (caused by negative group-ids)"

This commit is contained in:
Ralf Becker 2008-11-13 10:48:06 +00:00
parent 59aa84f761
commit 6b0f70126b

View File

@ -653,7 +653,7 @@ class filemanager_ui
if ($content['eacl']['delete'])
{
list($ino_owner) = each($content['eacl']['delete']);
list($ino,$owner) = explode('-',$ino_owner);
list($ino,$owner) = explode('-',$ino_owner,2); // $owner is a group and starts with a minus!
$msg .= egw_vfs::eacl($path,null,$owner) ? lang('ACL deleted.') : lang('Error deleting the ACL entry!');
}
elseif ($button == 'eacl')