mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#12751 fixed vul
This commit is contained in:
parent
babd228ae0
commit
9b57534f2a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user