summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-05-05 21:48:58 +0200
committerFelix Dörre <felix@dogcraft.de>2015-05-05 21:51:23 +0200
commit519f297a18c6645c9a015b366d4b2ca9478fac41 (patch)
tree197c01e5b70ef6ae7c9b971d26d9926de68ba42d
parent42b16725e1143d770ff3426a4a74788fd334a6ec (diff)
downloadcacert-devel-bug-1058.tar.gz
cacert-devel-bug-1058.tar.xz
cacert-devel-bug-1058.zip
bug 1058: refixing big SQL query escaping with "'" in account/55bug-1058
-rw-r--r--pages/account/55.php2
1 files changed, 1 insertions, 1 deletions
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