aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-03 13:11:09 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-01-03 13:45:52 +0100
commit0e0c649477e5ed66f93e1e1a15caeafcf50ae097 (patch)
tree4488a15bc56a2ab99afc776da857b9b770cab75e /phpBB/includes/functions_convert.php
parenta92589436a60262f1ba7960cd6b5af63a158e53b (diff)
downloadforums-0e0c649477e5ed66f93e1e1a15caeafcf50ae097.tar
forums-0e0c649477e5ed66f93e1e1a15caeafcf50ae097.tar.gz
forums-0e0c649477e5ed66f93e1e1a15caeafcf50ae097.tar.bz2
forums-0e0c649477e5ed66f93e1e1a15caeafcf50ae097.tar.xz
forums-0e0c649477e5ed66f93e1e1a15caeafcf50ae097.zip
[ticket/13441] Functions_convert fails to set global moderators default group
PHPBB3-13441
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 9d480692e9..61ab4721c4 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -2148,6 +2148,7 @@ function fix_empty_primary_groups()
}
$sql = 'SELECT user_id FROM ' . USER_GROUP_TABLE . ' WHERE group_id = ' . get_group_id('global_moderators');
+ $result = $db->sql_query($sql);
$user_ids = array();
while ($row = $db->sql_fetchrow($result))