[geeklog-hg] geeklog: Fixed a bug where the user could accidentally put the s...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Feb 2 20:01:53 EST 2014
changeset 9472:12bdaec62636
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/12bdaec62636
user: Kenji ITO <mystralkk at gmail.com>
date: Mon Feb 03 09:59:33 2014 +0900
description:
Fixed a bug where the user could accidentally put the same record in Spam-X
diffstat:
plugins/spamx/BaseAdmin.class.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 5764d8c311ac -r 12bdaec62636 plugins/spamx/BaseAdmin.class.php
--- a/plugins/spamx/BaseAdmin.class.php Sun Feb 02 16:26:34 2014 -0500
+++ b/plugins/spamx/BaseAdmin.class.php Mon Feb 03 09:59:33 2014 +0900
@@ -84,7 +84,7 @@
if (!empty($entry)) {
$entry = DB_escapeString($entry);
- $retval = DB_query("DELETE FROM {$_TABLES['spamx']} WHERE (name ='{$this->moduleName}' AND value = '{$entry}') LIMIT 1");
+ $retval = DB_query("DELETE FROM {$_TABLES['spamx']} WHERE (name ='{$this->moduleName}' AND value = '{$entry}')");
}
return $retval;
More information about the geeklog-cvs
mailing list