format
This commit is contained in:
parent
de26b7f373
commit
cbe1f792f9
2 changed files with 2 additions and 3 deletions
|
@ -31,7 +31,7 @@ function die_nicely($title, $body, $code=0)
|
|||
|
||||
$min_php = "7.3";
|
||||
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
|
||||
(PHP reports that it is version ".phpversion().").
|
||||
", 1);
|
||||
|
|
|
@ -19,7 +19,7 @@ class BulkImportExport extends DataHandlerExtension
|
|||
if ($zip->open($event->tmpname) === true) {
|
||||
$json_data = $this->get_export_data($zip);
|
||||
|
||||
if(empty($json_data)) {
|
||||
if (empty($json_data)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -180,5 +180,4 @@ class BulkImportExport extends DataHandlerExtension
|
|||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue