mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-09 01:26:32 +02:00
fix for php 7.4
This commit is contained in:
@@ -771,7 +771,7 @@ f00bar;
|
|||||||
try {
|
try {
|
||||||
chmod($d["filename"], (int)octdec($chmod));
|
chmod($d["filename"], (int)octdec($chmod));
|
||||||
return ["status" => "OK", "message" => $this->l('permission_change_success')];
|
return ["status" => "OK", "message" => $this->l('permission_change_success')];
|
||||||
} catch (Exception) {
|
} catch (Exception $e) {
|
||||||
throw new IFMException($this->l('permission_change_error'));
|
throw new IFMException($this->l('permission_change_error'));
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
Reference in New Issue
Block a user