[Fusionforge-commits] r8491 - trunk/tools

Alexandre Neymann neymanna at libremir.placard.fr.eu.org
Thu Dec 10 13:27:39 CET 2009


Author: neymanna
Date: 2009-12-10 13:27:39 +0100 (Thu, 10 Dec 2009)
New Revision: 8491

Modified:
   trunk/tools/check_and_update_forum_role_settings.php
Log:
fix bad var name in script check_and_update_forum_role_settings.php

Modified: trunk/tools/check_and_update_forum_role_settings.php
===================================================================
--- trunk/tools/check_and_update_forum_role_settings.php	2009-12-09 20:25:05 UTC (rev 8490)
+++ trunk/tools/check_and_update_forum_role_settings.php	2009-12-10 12:27:39 UTC (rev 8491)
@@ -81,7 +81,7 @@
 				return false;
 			}
 			// check if it exists a conf for each role
-			if (db_numrows($role_settings_res) == 0){
+			if (db_numrows($role_setting_res) == 0){
 				//add the role setting corresponding
 				$result = db_query_params('INSERT INTO role_setting (role_id,section_name,ref_id,value) VALUES ($1,$2,$3,$4)',
 							  array (db_result($roles_group_res,$r,'role_id'),




More information about the Fusionforge-commits mailing list