Sponsor menu now allows what=NULL, thanks to AndreasJung
authorRoland Häder <roland@mxchange.org>
Sun, 12 Oct 2008 16:23:16 +0000 (16:23 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 12 Oct 2008 16:23:16 +0000 (16:23 +0000)
inc/databases.php
inc/extensions/ext-debug.php
inc/extensions/ext-sponsor.php

index ab9679c3e1b496594d28eba8b5156b01ebb1b743..2bd89166f63c7daeac11b1331c9108bc58474afd 100644 (file)
@@ -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);
index 588ea60cc8989206815c345128e1bd802fad190a..3e310c07578fa228dd6a54b7a58e877dc01859c2 100644 (file)
@@ -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 <strong>inc/cache/</strong> befindet.',10)";
index 65f9888201f864d1b3ea657067da65100315e4e9..e1094ba006861f8258c2d901fec358f3ef5d6149 100644 (file)
@@ -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',