Bugfix
(à la volée parce que j'ai supprimé mes fichiers de dev... ><)
This commit is contained in:
parent
65c03738ac
commit
4b86dcf26d
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ function xsafimport($xsafremote, $max_exec_time) {
|
|||
$json_media_import = file_get_contents($remote_media);
|
||||
if(DEBUG)
|
||||
debug($json_media_import);
|
||||
if(!empty($json_media_import))
|
||||
if(!empty($json_media_import) && !&& !strpos($json_media_import, '[]}"'))
|
||||
{
|
||||
file_put_contents('./'. $foldername .'/import.json', $json_media_import);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue