From 2ab9a01a035770d24c82ae64267e6291ae2940cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 12 Oct 2008 16:23:16 +0000 Subject: [PATCH] Sponsor menu now allows what=NULL, thanks to AndreasJung --- inc/databases.php | 2 +- inc/extensions/ext-debug.php | 2 +- inc/extensions/ext-sponsor.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index ab9679c3e1..2bd89166f6 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "506"); +define('CURR_SVN_REVISION', "507"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/extensions/ext-debug.php b/inc/extensions/ext-debug.php index 588ea60cc8..3e310c0757 100644 --- a/inc/extensions/ext-debug.php +++ b/inc/extensions/ext-debug.php @@ -111,7 +111,7 @@ PRIMARY KEY (`id`) $SQLs[] = "INSERT INTO `"._MYSQL_PREFIX."_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('debug','debug_info','Informationen','Y','Y',1)"; $SQLs[] = "INSERT INTO `"._MYSQL_PREFIX."_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('debug','debug_reg','Anmeldung','Y','Y',2)"; $SQLs[] = "INSERT INTO `"._MYSQL_PREFIX."_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('debug','debug_unreg','Abmeldung','Y','Y',3)"; - $SQLs[] = "INSERT INTO `"._MYSQL_PREFIX."_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('debug','debug_pilory','Pranger','Y','Y',4)"; + $SQLs[] = "INSERT INTO `"._MYSQL_PREFIX."_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('debug','debug_pilory','Spam-Pranger','Y','Y',4)"; // Admin menu $SQLs[] = "INSERT INTO `"._MYSQL_PREFIX."_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('debug',NULL,'Debug-System','Verwalten Sie hier komfortabel das debug.log, welches sich im Verzeichnis inc/cache/ befindet.',10)"; diff --git a/inc/extensions/ext-sponsor.php b/inc/extensions/ext-sponsor.php index 65f9888201..e1094ba006 100644 --- a/inc/extensions/ext-sponsor.php +++ b/inc/extensions/ext-sponsor.php @@ -148,7 +148,7 @@ PRIMARY KEY(id) $SQLs[] = "CREATE TABLE "._MYSQL_PREFIX."_sponsor_menu ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, action VARCHAR(255) NOT NULL DEFAULT '', -what VARCHAR(255) NOT NULL DEFAULT '', +what VARCHAR(255) NULL DEFAULT NULL, title VARCHAR(255) NOT NULL DEFAULT '', active ENUM('Y','N') NOT NULL DEFAULT 'N', sort BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', -- 2.30.2