* Fixed unclosed <p> tag
[lhc/web/wiklou.git] / includes / SpecialBrokenRedirects.php
index baa8195..4101120 100644 (file)
@@ -65,8 +65,8 @@ class BrokenRedirectsPage extends PageQueryPage {
                }
 
                // $toObj may very easily be false if the $result list is cached
-               if ( !is_object( $toObj ) || !is_object( $fromObj ) ) {
-                       return '';
+               if ( !is_object( $toObj ) ) {
+                       return '<s>' . $skin->makeLinkObj( $fromObj ) . '</s>';
                }
 
                $from = $skin->makeKnownLinkObj( $fromObj ,'', 'redirect=no' );