diff --git a/shared/genpack.php b/shared/genpack.php index f70aea5..b5ec56c 100644 --- a/shared/genpack.php +++ b/shared/genpack.php @@ -256,6 +256,8 @@ function generatePack($updateId) { } } + if(!isset($packages[$lang][$edition])) continue; + $packages[$lang][$edition] = array_unique($packages[$lang][$edition]); sort($packages[$lang][$edition]); @@ -312,6 +314,8 @@ function generatePack($updateId) { } } + if(!isset($packages[$lang][$edition])) continue; + $packages[$lang][$edition] = array_unique($packages[$lang][$edition]); sort($packages[$lang][$edition]); diff --git a/shared/main.php b/shared/main.php index 7c76cf2..55fb46c 100644 --- a/shared/main.php +++ b/shared/main.php @@ -2,7 +2,7 @@ require_once dirname(__FILE__).'/../api/shared/main.php'; function brand($script = null) { - $projVersion = '1.2.0'; + $projVersion = '1.2.1'; return 'UUP dump standalone v'.$projVersion; }