Merge branch 'master' of github.com:volkszaehler/volkszaehler.org
This commit is contained in:
commit
9e5ed1cd83
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue