This commit is contained in:
Daniel Cebrian 2024-02-01 11:41:19 +01:00
parent babd228ae0
commit 9b57534f2a
1 changed files with 3 additions and 1 deletions

View File

@ -262,7 +262,9 @@ if ($filemanager) {
$contentFile = str_replace("\n", "\r\n", $contentFile);
}
$result = file_put_contents($location_file, $contentFile);
if (empty($location_file) === false && file_exists($location_file) === true) {
$result = file_put_contents($location_file, $contentFile);
}
}
$id_plugin = (int) get_parameter('id_plugin', 0);