From b0cde844dd14cfd237a2a690129f1e5aa9470c0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 18 Dec 2008 05:58:36 +0000 Subject: [PATCH] needs to be global :( --- inc/databases.php | 2 +- inc/extensions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 198ad3de99..6f6a0cfad6 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "648"); +define('CURR_SVN_REVISION', "649"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/extensions.php b/inc/extensions.php index e4ca93ae40..ab142b07cd 100644 --- a/inc/extensions.php +++ b/inc/extensions.php @@ -472,7 +472,7 @@ function GET_EXT_VERSION ($ext_name) { function EXTENSION_UPDATE ($file, $ext_name, $ext_ver, $dry_run=false) { // This shall never do a non-admin user! global $cacheInstance, $_CONFIG, $UPDATE_NOTES, $NOTES, $EXT_VER_HISTORY; - global $EXT_UPDATE_DEPENDS; + global $EXT_UPDATE_DEPENDS, $EXT_VERSION; // Init arrays $SQLs = array(); $INC_POOL = array(); -- 2.39.5