Add a few more validity checks
This commit is contained in:
1 parent
39353cdb51
commit
d628c2fe69
5 files changed
+21
-2
No files matched your search
@@ -24,6 +24,10 @@ function uupListEditions($lang = 'en-us', $updateId = 0) {
|
||||
$info = uupUpdateInfo($updateId);
|
||||
}
|
||||
|
||||
if(!$lang) {
|
||||
return array('error' => 'UNSUPPORTED_LANG');
|
||||
}
|
||||
|
||||
if(isset($info['info'])) $info = $info['info'];
|
||||
|
||||
if(isset($info['build'])) {
|
||||
|
||||
Reference in new issue
Block a user