projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec61000
)
Again better check
author
Roland Häder
<roland@mxchange.org>
Sat, 29 Sep 2012 13:17:12 +0000
(13:17 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 29 Sep 2012 13:17:12 +0000
(13:17 +0000)
inc/extensions-functions.php
patch
|
blob
|
history
diff --git
a/inc/extensions-functions.php
b/inc/extensions-functions.php
index 50730054498a68c0318f48d61cc875ae510109ea..90d1a92ab02034f61b85c472b1005520a8ae3667 100644
(file)
--- a/
inc/extensions-functions.php
+++ b/
inc/extensions-functions.php
@@
-1275,7
+1275,7
@@
function addExtensionDependency ($updateDepends) {
array_push($GLOBALS['ext_update_depends'][getCurrentExtensionName()], $updateDepends);
// Init array
- if (
!isset($GLOBALS['ext_running_updates'][getCurrentExtensionName()]
)) {
+ if (
(!isset($GLOBALS['ext_running_updates'][getCurrentExtensionName()])) || (!is_array($GLOBALS['ext_running_updates'][getCurrentExtensionName()])
)) {
$GLOBALS['ext_running_updates'][getCurrentExtensionName()] = array();
} // END - if