changedsince is > not >= :-)

This commit is contained in:
Andrew McMillan 2011-10-05 11:47:59 +02:00
parent 9860f6a013
commit 060eeb1b54

View File

@ -30,7 +30,7 @@ if ( $returnall !== true ) {
}
if ( !empty($changedsince) ) {
if ( !empty($where) ) $where .= ' AND ';
$where .= 'last_modified >= :changedsince';
$where .= 'last_modified > :changedsince';
$params[':changedsince'] = $changedsince;
}
if ( !empty($where)) $sql .= ' WHERE '.$where;