https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113868

Revision: 113868
Author:   jeroendedauw
Date:     2012-03-14 22:34:09 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
fix 
http://education.wmflabs.org/wiki/Thread:MW_1.18_talk:Community_portal/Special:CampusAmbassadorProfile_doesn't_contain_text_of_profile,_if_you've_created_one

Modified Paths:
--------------
    trunk/extensions/EducationProgram/specials/SpecialAmbassadorProfile.php

Modified: 
trunk/extensions/EducationProgram/specials/SpecialAmbassadorProfile.php
===================================================================
--- trunk/extensions/EducationProgram/specials/SpecialAmbassadorProfile.php     
2012-03-14 22:32:20 UTC (rev 113867)
+++ trunk/extensions/EducationProgram/specials/SpecialAmbassadorProfile.php     
2012-03-14 22:34:09 UTC (rev 113868)
@@ -90,7 +90,7 @@
                $fields = array();
 
                $class = $this->getClassName();
-               $ambassador = $class::newFromUser( $this->getUser() );
+               $ambassador = $class::newFromUser( $this->getUser(), true );
 
                $msgPrefix = $this->getMsgPrefix();
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to