From 38fd936c8dea87c4feb4620db06a91691a0bf5ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 6 Jan 2010 15:01:27 +0000 Subject: [PATCH] quote value for all operators (thanks to Jordan for the fix) --- PLC/Filter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Filter.py b/PLC/Filter.py index 3f04da9..520c6ff 100644 --- a/PLC/Filter.py +++ b/PLC/Filter.py @@ -193,8 +193,8 @@ class Filter(Parameter, dict): operator='<=' if modifiers[']']: operator='>=' - else: - value = str(api.db.quote(value)) + + value = str(api.db.quote(value)) clause = "%s %s %s" % (field, operator, value) -- 2.43.0