Partial workaround for bug 6220: at least make files on shared repositories show...
[lhc/web/wiklou.git] / includes / FeedUtils.php
index c634014..9daffc1 100644 (file)
@@ -124,7 +124,7 @@ class FeedUtils {
                                                        $wgLang->time( $timestamp ) ) );
                                }
 
-                               if ( ( strlen( $diffText ) > $wgFeedDiffCutoff ) || ( $wgFeedDiffCutoff <= 0 ) ) {
+                               if ( $wgFeedDiffCutoff <= 0 || ( strlen( $diffText ) > $wgFeedDiffCutoff ) ) {
                                        // Omit large diffs
                                        $diffLink = $title->escapeFullUrl(
                                                'diff=' . $newid .