Merge branch 'master' of github.com:volkszaehler/volkszaehler.org

This commit is contained in:
Steffen Vogel 2010-10-19 00:42:56 +02:00
commit 9e5ed1cd83

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;