From ec61000e67fb18c12f03e3c084a18718307acf90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 29 Sep 2012 13:15:58 +0000 Subject: [PATCH] Another fix --- inc/extensions-functions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inc/extensions-functions.php b/inc/extensions-functions.php index 6c07db542b..5073005449 100644 --- a/inc/extensions-functions.php +++ b/inc/extensions-functions.php @@ -1274,6 +1274,11 @@ function addExtensionDependency ($updateDepends) { // Add it to the list of extension update depencies map array_push($GLOBALS['ext_update_depends'][getCurrentExtensionName()], $updateDepends); + // Init array + if (!isset($GLOBALS['ext_running_updates'][getCurrentExtensionName()])) { + $GLOBALS['ext_running_updates'][getCurrentExtensionName()] = array(); + } // END - if + // Remember it in the list of running updates array_push($GLOBALS['ext_running_updates'][getCurrentExtensionName()], $updateDepends); //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'currName=' . getCurrentExtensionName() . '/' . $updateDepends . ',extensionMode=' . getExtensionMode() . ' - EXIT!'); -- 2.39.5