* (bug 21593) Special:UserRights now lists automatic groups membership
[lhc/web/wiklou.git] / includes / specials / SpecialFewestrevisions.php
index 35311d7..65d76a6 100644 (file)
@@ -53,6 +53,10 @@ class FewestrevisionsPage extends QueryPage {
                global $wgLang, $wgContLang;
 
                $nt = Title::makeTitleSafe( $result->namespace, $result->title );
+               if( !$nt ) {
+                       return '<!-- bad title -->';
+               }
+
                $text = $wgContLang->convert( $nt->getPrefixedText() );
 
                $plink = $skin->linkKnown(