This commit is contained in:
Shish 2020-07-07 16:07:23 +00:00
parent de26b7f373
commit cbe1f792f9
2 changed files with 2 additions and 3 deletions

View file

@ -31,7 +31,7 @@ function die_nicely($title, $body, $code=0)
$min_php = "7.3"; $min_php = "7.3";
if (version_compare(phpversion(), $min_php, ">=") === false) { if (version_compare(phpversion(), $min_php, ">=") === false) {
die_nicely("Not Supported", " die_nicely("Not Supported", "
Shimmie does not support versions of PHP lower than $min_php Shimmie does not support versions of PHP lower than $min_php
(PHP reports that it is version ".phpversion()."). (PHP reports that it is version ".phpversion().").
", 1); ", 1);

View file

@ -19,7 +19,7 @@ class BulkImportExport extends DataHandlerExtension
if ($zip->open($event->tmpname) === true) { if ($zip->open($event->tmpname) === true) {
$json_data = $this->get_export_data($zip); $json_data = $this->get_export_data($zip);
if(empty($json_data)) { if (empty($json_data)) {
return; return;
} }
@ -180,5 +180,4 @@ class BulkImportExport extends DataHandlerExtension
return null; return null;
} }
} }
} }