From: Gabriel Wicke Date: Sat, 31 Jan 2004 16:33:32 +0000 (+0000) Subject: bug fix I (replaced -\>mTitle with ) X-Git-Tag: 1.3.0beta1~1049 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=e8b8cce1794e4602c82d7c7e266db91cdd7c0eb0;p=lhc%2Fweb%2Fwiklou.git bug fix I (replaced -\>mTitle with ) --- diff --git a/includes/Article.php b/includes/Article.php index 65d1a66ee6..b588066135 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1225,10 +1225,10 @@ class Article { $u = new SearchUpdate( $id, $title, $text ); array_push( $wgDeferredUpdateList, $u ); - $u = new UserTalkUpdate( 1, $this->mTitle->getNamespace(), $shortTitle ); + $u = new UserTalkUpdate( 1, $title_obj->getNamespace(), $shortTitle ); array_push( $wgDeferredUpdateList, $u ); - if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) { + if ( $title_obj->getNamespace() == NS_MEDIAWIKI ) { $wgMessageCache->replace( $shortTitle, $text ); } } @@ -1304,10 +1304,10 @@ class Article { $u = new SearchUpdate( $id, $title, $text ); array_push( $wgDeferredUpdateList, $u ); - $u = new UserTalkUpdate( 1, $this->mTitle->getNamespace(), $shortTitle ); + $u = new UserTalkUpdate( 1, $title_obj->getNamespace(), $shortTitle ); array_push( $wgDeferredUpdateList, $u ); - if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) { + if ( $title_obj->getNamespace() == NS_MEDIAWIKI ) { $wgMessageCache->replace( $shortTitle, $text ); } }