Fix PHP warnings appearing when fileinfo database is empty
This commit is contained in:
parent
02444758f6
commit
7f859eb6df
@ -76,6 +76,13 @@ function uupListIds($search = null) {
|
||||
$builds[$tmp.$arch.$title.$uuid] = $temp;
|
||||
}
|
||||
|
||||
if(empty($buildAssoc)) {
|
||||
return array(
|
||||
'apiVersion' => uupApiVersion(),
|
||||
'builds' => array(),
|
||||
);
|
||||
}
|
||||
|
||||
krsort($buildAssoc);
|
||||
$buildsNew = array();
|
||||
|
||||
|
@ -16,7 +16,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
function uupApiVersion() {
|
||||
return '1.15.2';
|
||||
return '1.15.3';
|
||||
}
|
||||
|
||||
function uupApiPrintBrand() {
|
||||
|
Loading…
Reference in New Issue
Block a user