From 59b7fd647f2638e4a867b3dc807bed9ed6243319 Mon Sep 17 00:00:00 2001 From: orin Date: Thu, 8 Feb 2024 19:52:47 +0100 Subject: [PATCH] Fix 26052.1100 This codebase is a pure garbage. --- shared/genpack.php | 4 ++++ shared/main.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; }