diff --git a/listid.php b/listid.php index 7e1aead..780cc13 100644 --- a/listid.php +++ b/listid.php @@ -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(); diff --git a/shared/main.php b/shared/main.php index 03c6022..08dc06b 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '1.15.2'; + return '1.15.3'; } function uupApiPrintBrand() {