From: Roland Häder Date: Sat, 29 Sep 2012 13:15:58 +0000 (+0000) Subject: Another fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec61000e67fb18c12f03e3c084a18718307acf90;p=mailer.git Another fix --- 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!');