]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-top10.php
More fixes on cache to reduce queries
[mailer.git] / inc / extensions / ext-top10.php
index 19ac12ced016296e9672f3470afb324e3c554d5f..6fc5afdf5e51a5fce43b44c4cbb70d970789b154 100644 (file)
@@ -56,7 +56,7 @@ case "register": // Do stuff when installtion is running (modules.php?module=adm
        $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD top10_max tinyint(4) not null default '10'";
 
        // Load CSS file?
-       $EXT_CSS = 'Y';
+       $EXT_CSS = "Y";
        break;
 
 case "remove": // Do stuff when removing extension
@@ -143,7 +143,7 @@ case "update": // Update an extension
 
 default: // Do stuff when extension is loaded
        $dummy = LOAD_CONFIG();
-       $_CONFIG['top10_max'] = $dummy['top10_max'];
+       $_CONFIG = array_merge($_CONFIG, $dummy);
        unset($dummy);
        break;
 }
@@ -152,7 +152,7 @@ default: // Do stuff when extension is loaded
 $EXT_LANG_PREFIX = "top10";
 
 // Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
+$EXT_ALWAYS_ACTIVE = "N";
 
 //
 ?>