1
0
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:
Dmytro Novash
2024-06-18 01:20:41 +03:00
parent 29e645e114
commit ab1e9781eb

View File

@@ -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