}
// $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' );