This commit is contained in:
Justin Otherguy 2010-10-08 11:47:35 +02:00
parent 282eb921a7
commit 4fd7b0a676

View file

@ -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;