Skip to content

Commit 22588e0

Browse files
committed
https://github.com/elmsln/issues/issues/1355
1 parent dd59f73 commit 22588e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

system/backend/php/lib/Operations.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,10 @@ public function rebuildManagedFiles() {
396396
$return['managedFilesRebuilt'][] = $this->params['site']['name'];
397397
}
398398
}
399-
else {
400-
$return = array();
399+
400+
if (!isset($return)) {
401401
$status = 400;
402+
$return = array();
402403
}
403404

404405
return array(

0 commit comments

Comments
 (0)