[Fusionforge-commits] r8492 - branches/Branch_4_8/tools

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


Author: neymanna
Date: 2009-12-10 13:28:04 +0100 (Thu, 10 Dec 2009)
New Revision: 8492

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

Modified: branches/Branch_4_8/tools/check_and_update_forum_role_settings.php
===================================================================
--- branches/Branch_4_8/tools/check_and_update_forum_role_settings.php	2009-12-10 12:27:39 UTC (rev 8491)
+++ branches/Branch_4_8/tools/check_and_update_forum_role_settings.php	2009-12-10 12:28:04 UTC (rev 8492)
@@ -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