aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-08-24 00:29:23 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-08-24 00:29:23 +0000
commit9382f6ba174e55ee0b43649e40282a6cb47800ff (patch)
tree0527f18a9d0cb66654a5e6f869bb74795c76dcce /phpBB
parent19f86451184b8819831c258df76575fdf2b22726 (diff)
downloadforums-9382f6ba174e55ee0b43649e40282a6cb47800ff.tar
forums-9382f6ba174e55ee0b43649e40282a6cb47800ff.tar.gz
forums-9382f6ba174e55ee0b43649e40282a6cb47800ff.tar.bz2
forums-9382f6ba174e55ee0b43649e40282a6cb47800ff.tar.xz
forums-9382f6ba174e55ee0b43649e40282a6cb47800ff.zip
Fix bug #50245 - Check for correct module name when installing the "Send statistics" module.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10049 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/install/database_update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 7656ea8952..72bad95227 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1324,12 +1324,12 @@ function change_database_data(&$no_updates, $version)
{
$category_id = (int) $row['module_id'];
- // Check if we actually need to add the feed module or if it is already added. ;)
+ // Check if we need to add the module or if it is already there. ;)
$sql = 'SELECT *
FROM ' . MODULES_TABLE . "
WHERE module_class = 'acp'
AND module_langname = 'ACP_SEND_STATISTICS'
- AND module_mode = 'questionnaire'
+ AND module_mode = 'send_statistics'
AND module_auth = 'acl_a_server'
AND parent_id = {$category_id}";
$result2 = $db->sql_query($sql);