*sigh* Forgot db->timestamp
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 13 Dec 2008 19:03:15 +0000 (19:03 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 13 Dec 2008 19:03:15 +0000 (19:03 +0000)
includes/filerepo/LocalFile.php

index bf81043..f3cf903 100644 (file)
@@ -635,7 +635,7 @@ class LocalFile extends File
                        $conds[] = "oi_timestamp <= " . $dbr->addQuotes( $dbr->timestamp( $start ) );
                }
                if( $end ) {
-                       $conds[] = "oi_timestamp >= " . $dbr->addQuotes( $end );
+                       $conds[] = "oi_timestamp >= " . $dbr->addQuotes( $dbr->timestamp( $end ) );
                }
                if( $limit ) {
                        $opts['LIMIT'] = $limit;