Index: install/database_update.php =================================================================== --- install/database_update.php (revision 10048) +++ install/database_update.php (working copy) @@ -1324,12 +1324,12 @@ { $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 actually need to add the send_statistics module or if it is already added. ;) $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);