"fix for last bit of bug #1813: changing of file perms worked only once, further changes in same window got ignored"

This commit is contained in:
Ralf Becker 2008-11-12 17:04:38 +00:00
parent 19342d9119
commit 322467fb36

View File

@ -612,6 +612,7 @@ class filemanager_ui
if ($ok && !$failed) if ($ok && !$failed)
{ {
$msg .= lang('Permissions of %1 changed.',$path.' '.lang('and all it\'s childeren')); $msg .= lang('Permissions of %1 changed.',$path.' '.lang('and all it\'s childeren'));
$content['old'][$name] = $content[$name];
} }
elseif($failed) elseif($failed)
{ {
@ -622,6 +623,7 @@ class filemanager_ui
elseif (call_user_func_array($cmd,array($path,$value))) elseif (call_user_func_array($cmd,array($path,$value)))
{ {
$msg .= lang('Permissions of %1 changed.',$path); $msg .= lang('Permissions of %1 changed.',$path);
$content['old'][$name] = $content[$name];
} }
else else
{ {