From 97040dc6ff07595a4ba5a455c92d810bc3471e80 Mon Sep 17 00:00:00 2001 From: "Forumhulp.com" Date: Wed, 27 Jul 2016 00:17:47 +0200 Subject: [PATCH] [ticket/14796] Use log_table class member instead of table constant Was still using the old LOG_TABLE constant in the delete method. PHPBB3-14796 --- phpBB/phpbb/log/log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/log/log.php b/phpBB/phpbb/log/log.php index d46e3d1f3f..094ff78abe 100644 --- a/phpBB/phpbb/log/log.php +++ b/phpBB/phpbb/log/log.php @@ -402,7 +402,7 @@ class log implements \phpbb\log\log_interface } } - $sql = 'DELETE FROM ' . LOG_TABLE . " + $sql = 'DELETE FROM ' . $this->log_table . " $sql_where"; $this->db->sql_query($sql);