diff options
Diffstat (limited to 'phpBB/develop/add_permissions.php')
| -rw-r--r-- | phpBB/develop/add_permissions.php | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/develop/add_permissions.php b/phpBB/develop/add_permissions.php index a5279f8f13..a6fc8d686c 100644 --- a/phpBB/develop/add_permissions.php +++ b/phpBB/develop/add_permissions.php @@ -64,6 +64,7 @@ $f_permissions = array(  	'f_vote'	=> array(1, 0),  	'f_votechg'	=> array(1, 0),  	'f_announce'=> array(1, 0), +	'f_announce_global'	=> array(1, 0),  	'f_sticky'	=> array(1, 0),  	'f_attach'	=> array(1, 0),  	'f_download'=> array(1, 0), @@ -388,7 +389,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)  						foreach ($sql_subary as $sql)  						{  							$sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) VALUES ($sql)"; -							$result = $db->sql_query($sql); +							$db->sql_query($sql);  							$sql = '';  						}  				} @@ -396,7 +397,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)  				if ($sql != '')  				{  					$sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) $sql"; -					$result = $db->sql_query($sql); +					$db->sql_query($sql);  				}  				break; @@ -404,7 +405,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)  			case 'delete':  				foreach ($sql_subary as $sql)  				{ -					$result = $db->sql_query($sql); +					$db->sql_query($sql);  					$sql = '';  				}  				break;  | 
