From 519f297a18c6645c9a015b366d4b2ca9478fac41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20D=C3=B6rre?= Date: Tue, 5 May 2015 21:48:58 +0200 Subject: bug 1058: refixing big SQL query escaping with "'" in account/55 --- pages/account/55.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/account') diff --git a/pages/account/55.php b/pages/account/55.php index 1f01771..2032b18 100644 --- a/pages/account/55.php +++ b/pages/account/55.php @@ -94,7 +94,7 @@ FROM `users` AS `u`, `notary` AS `n` WHERE `u`.`id` = \''.intval($_SESSION['profile']['id']).'\' - AND `n`.`method` != 'Administrative Increase' AND `n`.`from` != `n`.`to` + AND `n`.`method` != \'Administrative Increase\' AND `n`.`from` != `n`.`to` AND `n`.`to` = `u`.`id` AND `expire` < NOW() AND `n`.`deleted` = 0 -- cgit v1.2.1