This commit is contained in:
Justin Otherguy 2010-10-18 21:55:24 +02:00
parent 4fd7b0a676
commit d5b67da551

View file

@ -159,11 +159,11 @@ abstract class Interpreter implements InterpreterInterface {
$sql = '';
if (isset($from)) {
$sql .= ' AND timestamp >= ' . $from;
$sql .= ' AND timestamp >= ' . $from;
}
if (isset($to)) {
$sql .= ' AND timestamp <= ' . $to;
$sql .= ' AND timestamp <= ' . $to;
}
return $sql;