From 4fd7b0a6768df5d470dd6d2737ecf146a2088c2c Mon Sep 17 00:00:00 2001 From: Justin Otherguy Date: Fri, 8 Oct 2010 11:47:35 +0200 Subject: [PATCH] closes #20 --- backend/lib/Interpreter/Interpreter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/lib/Interpreter/Interpreter.php b/backend/lib/Interpreter/Interpreter.php index 94f26ba..5a7de2f 100644 --- a/backend/lib/Interpreter/Interpreter.php +++ b/backend/lib/Interpreter/Interpreter.php @@ -159,11 +159,11 @@ abstract class Interpreter implements InterpreterInterface { $sql = ''; if (isset($from)) { - $sql .= ' && timestamp >= ' . $from; + $sql .= ' AND timestamp >= ' . $from; } if (isset($to)) { - $sql .= ' && timestamp <= ' . $to; + $sql .= ' AND timestamp <= ' . $to; } return $sql;