aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/log/log.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/phpbb/log/log.php b/phpBB/phpbb/log/log.php
index 1aa9e073f0..e2802ba3e1 100644
--- a/phpBB/phpbb/log/log.php
+++ b/phpBB/phpbb/log/log.php
@@ -523,7 +523,10 @@ class log implements \phpbb\log\log_interface
$get_logs_sql_ary = array(
'SELECT' => 'l.*, u.username, u.username_clean, u.user_colour',
- 'FROM' => $this->log_table . ' l, ' . USERS_TABLE . ' u',
+ 'FROM' => array(
+ $this->log_table => 'l',
+ USERS_TABLE => 'u',
+ ),
'WHERE' => 'l.user_id = u.user_id
AND l.log_time >= ' . (int) $log_time . "
$sql_keywords