needs to be global :(
[mailer.git] / inc / extensions.php
index e4ca93ae400017f347f597a889c802eb02decfae..ab142b07cd88253789c76f107bb19c3726291c23 100644 (file)
@@ -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;
 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();
 
        // Init arrays
        $SQLs = array(); $INC_POOL = array();