From 73fc407c07205e87d537338101ba133393aa80e2 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Mon, 20 Jan 2014 22:36:56 +0100 Subject: bug 1138: added assurances to SE log, rework of assurance delete form delete assurance to deleted=Now() --- pages/wot/10.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pages/wot') diff --git a/pages/wot/10.php b/pages/wot/10.php index bc76a86..e490af9 100644 --- a/pages/wot/10.php +++ b/pages/wot/10.php @@ -36,8 +36,8 @@ WHERE `users`.`id` = `notary`.`from` AND `notary`.`from` != `notary`.`to` GROUP BY `notary`.`from` HAVING count(*) > '$rc' ORDER BY `notary`.`when` DESC"; */ - $query = "SELECT count(*) AS `list` FROM `users` - inner join `notary` on `users`.`id` = `notary`.`from` + $query = "SELECT count(*) AS `list` FROM `users` + inner join `notary` on `users`.`id` = `notary`.`from` GROUP BY `notary`.`from` HAVING count(*) > '$rc'"; $rank = mysql_num_rows(mysql_query($query)) + 1; @@ -64,7 +64,7 @@