X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialListfiles.php;h=d4b45fb31142e913d993c3ae6ba09a19b7e82756;hb=f6d852f6e98cd3fd89a0fffddafa19345d970a3b;hp=c68341cfdf03054ccbcab524bd9975ad3174bb57;hpb=73a1b801e6627d5be2d01804674f8b21abb31806;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index c68341cfdf..d4b45fb311 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -302,6 +302,7 @@ class ImageListPager extends TablePager { * @param int $limit * @param bool $asc * @return array + * @throws MWException */ function reallyDoQuery( $offset, $limit, $asc ) { $prevTableName = $this->mTableName; @@ -424,7 +425,7 @@ class ImageListPager extends TablePager { function formatValue( $field, $value ) { switch ( $field ) { case 'thumb': - $opt = array( 'time' => $this->mCurrentRow->img_timestamp ); + $opt = array( 'time' => wfTimestamp( TS_MW, $this->mCurrentRow->img_timestamp ) ); $file = RepoGroup::singleton()->getLocalRepo()->findFile( $value, $opt ); // If statement for paranoia if ( $file ) {