From 1c02bc77d1a14e68097320806313e90bfffddc75 Mon Sep 17 00:00:00 2001 From: Ruan Date: Thu, 19 Feb 2015 13:57:17 +0200 Subject: [PATCH] Copy paste --- mutes.php | 2 +- warnings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mutes.php b/mutes.php index 2247ce1..ea567bc 100644 --- a/mutes.php +++ b/mutes.php @@ -7,7 +7,7 @@ // <<-----------------mysql Database Connection------------>> // require 'includes/data/database.php'; -$sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_mutes . ' INNER JOIN ' . $table_history . ' on ' . $table_bans . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; +$sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_mutes . ' INNER JOIN ' . $table_history . ' on ' . $table_mutes . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; $retval = mysql_query($sql, $conn); if (!$retval) { diff --git a/warnings.php b/warnings.php index b39f86e..faca105 100644 --- a/warnings.php +++ b/warnings.php @@ -7,7 +7,7 @@ // <<-----------------mysql Database Connection------------>> // require 'includes/data/database.php'; -$sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_warnings . ' INNER JOIN ' . $table_history . ' on ' . $table_bans . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; +$sql = 'SELECT time,until,reason,name,banned_by_name FROM ' . $table_warnings . ' INNER JOIN ' . $table_history . ' on ' . $table_warnings . '.uuid=' . $table_history . '.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; $retval = mysql_query($sql, $conn); if (!$retval) {