[Fusionforge-commits] r11815 - branches/Branch_5_1/src/plugins/mediawiki/cronjobs

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Dec 15 17:35:01 CET 2010


Author: lolando
Date: 2010-12-15 17:35:00 +0100 (Wed, 15 Dec 2010)
New Revision: 11815

Modified:
   branches/Branch_5_1/src/plugins/mediawiki/cronjobs/create-wikis.php
Log:
Sanitize schema name

Modified: branches/Branch_5_1/src/plugins/mediawiki/cronjobs/create-wikis.php
===================================================================
--- branches/Branch_5_1/src/plugins/mediawiki/cronjobs/create-wikis.php	2010-12-15 16:32:31 UTC (rev 11814)
+++ branches/Branch_5_1/src/plugins/mediawiki/cronjobs/create-wikis.php	2010-12-15 16:35:00 UTC (rev 11815)
@@ -63,7 +63,7 @@
 		// Create the DB
 		$schema = "plugin_mediawiki_$project";
 		// Sanitize schema name
-		strtr($schema, "-", "_");
+		$schema = strtr($schema, "-", "_");
 
 		db_begin();
 




More information about the Fusionforge-commits mailing list