dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4767fe5
)
Expand ASC condition as it should be
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 14 Dec 2008 07:02:38 +0000
(07:02 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 14 Dec 2008 07:02:38 +0000
(07:02 +0000)
includes/filerepo/LocalFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/LocalFile.php
b/includes/filerepo/LocalFile.php
index
dfd8332
..
40bf49f
100644
(file)
--- a/
includes/filerepo/LocalFile.php
+++ b/
includes/filerepo/LocalFile.php
@@
-641,7
+641,7
@@
class LocalFile extends File
$opts['LIMIT'] = $limit;
}
// Search backwards for time > x queries
- $order = (!$start && $end
=== ""
) ? "ASC" : "DESC";
+ $order = (!$start && $end
!== null
) ? "ASC" : "DESC";
$opts['ORDER BY'] = "oi_timestamp $order";
wfRunHooks( 'LocalFile::getHistory', array( &$this, &$tables, &$fields,