aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-07-27 12:57:29 +0000
committerChris Smith <toonarmy@phpbb.com>2009-07-27 12:57:29 +0000
commit986576e2457522e4d8fc1f877210b3aff60eefea (patch)
treebf8f542132f371f61d843019b4c4a783a7bf890a /phpBB/includes/functions_admin.php
parentd2aca86b4a1858200a032e7bf4fdd997bc339331 (diff)
downloadforums-986576e2457522e4d8fc1f877210b3aff60eefea.tar
forums-986576e2457522e4d8fc1f877210b3aff60eefea.tar.gz
forums-986576e2457522e4d8fc1f877210b3aff60eefea.tar.bz2
forums-986576e2457522e4d8fc1f877210b3aff60eefea.tar.xz
forums-986576e2457522e4d8fc1f877210b3aff60eefea.zip
Fix an SQL error
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9872 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index aeb378953d..8fc895efdc 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -2376,7 +2376,7 @@ function view_log($mode, &$log, &$log_count, $limit = 0, $offset = 0, $forum_id
WHERE l.log_type = $log_type
AND u.user_id = l.user_id
" . (($limit_days) ? "AND l.log_time >= $limit_days" : '') .
- (!empty($log_operation) ? "AND l.log_operation = '" . $db->sql_escape($log_operation) . "'" : '') . "
+ (!empty($log_operation) ? " AND l.log_operation = '" . $db->sql_escape($log_operation) . "'" : '') . "
$sql_forum
ORDER BY $sort_by";
$result = $db->sql_query_limit($sql, $limit, $offset);