Index: trunk/extensions/SocialProfile/UserProfile/SpecialUpdateProfile.php |
— | — | @@ -287,7 +287,7 @@ |
288 | 288 | $user = $wgUser; |
289 | 289 | } |
290 | 290 | |
291 | | - $this->initProfile(); |
| 291 | + $this->initProfile( $user ); |
292 | 292 | $dbw = wfGetDB( DB_MASTER ); |
293 | 293 | $dbw->update( |
294 | 294 | 'user_profile', |
— | — | @@ -328,7 +328,7 @@ |
329 | 329 | $user = $wgUser; |
330 | 330 | } |
331 | 331 | |
332 | | - $this->initProfile(); |
| 332 | + $this->initProfile( $user ); |
333 | 333 | $dbw = wfGetDB( DB_MASTER ); |
334 | 334 | $dbw->update( |
335 | 335 | 'user_profile', |
— | — | @@ -358,7 +358,7 @@ |
359 | 359 | $user = $wgUser; |
360 | 360 | } |
361 | 361 | |
362 | | - $this->initProfile(); |
| 362 | + $this->initProfile( $user ); |
363 | 363 | $dbw = wfGetDB( DB_MASTER ); |
364 | 364 | $dbw->update( |
365 | 365 | 'user_profile', |