Merge "mediawiki.action.edit.preview: Disable if there is no #wpTextbox1"
[lhc/web/wiklou.git] / includes / specials / SpecialListfiles.php
index 760704d..d4b45fb 100644 (file)
@@ -425,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 ) {