From: Aaron Schulz Date: Thu, 1 May 2008 20:27:09 +0000 (+0000) Subject: wrong use of makeTitle() (bug 13907) X-Git-Tag: 1.31.0-rc.0~47966 X-Git-Url: https://git.cyclocoop.org/%2C?a=commitdiff_plain;h=07ba6533a5f03a04fcfac113e08c009e9643250a;p=lhc%2Fweb%2Fwiklou.git wrong use of makeTitle() (bug 13907) --- diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 763f1361a9..fed7afd784 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -300,7 +300,7 @@ function rcFilterByCategories ( &$rows , $categories , $any ) { $articles = array () ; $a2r = array () ; foreach ( $rows AS $k => $r ) { - $nt = Title::makeTitle( $r->rc_title , $r->rc_namespace ); + $nt = Title::makeTitle( $r->rc_namespace, $r->rc_title ); $id = $nt->getArticleID() ; if ( $id == 0 ) continue ; # Page might have been deleted... if ( !in_array ( $id , $articles ) ) {