]> git.mxchange.org Git - mailer.git/commitdiff
Opps...
authorRoland Häder <roland@mxchange.org>
Mon, 8 Nov 2010 02:36:26 +0000 (02:36 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 8 Nov 2010 02:36:26 +0000 (02:36 +0000)
inc/extensions/ext-theme.php

index 54df06813f8caae7b97b6878d7a083d6b3bec27e..070f7f7d8e645ec65895efaccddcc143ebd3c01d 100644 (file)
@@ -72,13 +72,13 @@ switch (getExtensionMode()) {
        case 'activate': // Do stuff when admin activates this extension
                // SQL commands to run
                addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `visible`='Y', `locked`='N' WHERE `action`='theme' LIMIT 1");
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='Y', `locked`='N' WHERE `action`='theme' OR `what`='theme' LIMIT 2");
+               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='Y', `locked`='N' WHERE `action`='themes' OR `what`='themes' LIMIT 2");
                break;
 
        case 'deactivate': // Do stuff when admin deactivates this extension
                // SQL commands to run
                addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_guest_menu` SET `visible`='N', `locked`='Y' WHERE `action`='theme' LIMIT 1");
-               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='N', `locked`='Y' WHERE `action`='theme' OR `what`='theme' LIMIT 2");
+               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_member_menu` SET `visible`='N', `locked`='Y' WHERE `action`='themes' OR `what`='themes' LIMIT 2");
                break;
 
        case 'update': // Update an extension