From: Roland Häder Date: Sat, 6 Sep 2008 19:11:18 +0000 (+0000) Subject: Extension de-/activation fixed in surfbar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=24b7d0c27861f6fc21572b22bda14075a6d9b417;p=mailer.git Extension de-/activation fixed in surfbar --- diff --git a/inc/extensions/ext-surfbar.php b/inc/extensions/ext-surfbar.php index 661dca0ea0..862fd14598 100644 --- a/inc/extensions/ext-surfbar.php +++ b/inc/extensions/ext-surfbar.php @@ -143,12 +143,12 @@ case "remove": // Do stuff when removing extension case "activate": // Do stuff when admin activates this extension // SQL commands to run - $SQLs[] = "UPDATE `"._MYSQL_PREFIX."_member_menu` SET `visible`='Y', `locked`='N' WHERE `what`='surfbar' LIMIT 1"; + $SQLs[] = "UPDATE `"._MYSQL_PREFIX."_member_menu` SET `visible`='Y', `locked`='N' WHERE `action`='surfbar' LIMIT 3"; break; case "deactivate": // Do stuff when admin deactivates this extension // SQL commands to run - $SQLs[] = "UPDATE `"._MYSQL_PREFIX."_member_menu` SET `locked`='Y' WHERE `what` = 'surfbar' LIMIT 1"; + $SQLs[] = "UPDATE `"._MYSQL_PREFIX."_member_menu` SET `locked`='Y' WHERE `action` = 'surfbar' LIMIT 3"; break; case "update": // Update an extension