Revision: 45583
Author:   ashley
Date:     2009-01-08 20:59:53 +0000 (Thu, 08 Jan 2009)

Log Message:
-----------
fix fatal error reported by an anonymous user (see 
http://www.mediawiki.org/w/index.php?title=Extension_talk:SocialProfile&curid=29356&diff=231995&oldid=231473)

Modified Paths:
--------------
    
trunk/extensions/SocialProfile/UserProfile/SpecialPopulateExistingUsersProfiles.php

Modified: 
trunk/extensions/SocialProfile/UserProfile/SpecialPopulateExistingUsersProfiles.php
===================================================================
--- 
trunk/extensions/SocialProfile/UserProfile/SpecialPopulateExistingUsersProfiles.php
 2009-01-08 20:22:06 UTC (rev 45582)
+++ 
trunk/extensions/SocialProfile/UserProfile/SpecialPopulateExistingUsersProfiles.php
 2009-01-08 20:59:53 UTC (rev 45583)
@@ -43,7 +43,7 @@
 
                $count = 0; // To avoid an annoying PHP notice
 
-               while( $row = $dbr->fetchObject($res) ){
+               while( $row = $dbw->fetchObject($res) ){
                        $user_name_title = Title::newFromDBkey( 
$row->page_title );
                        $user_name = $user_name_title->getText();
                        $user_id = User::idFromName( $user_name );



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to