r56249 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r56248
|
r56249
|
r56250
>
Date:
21:41, 12 September 2009
Author:
happy-melon
Status:
ok
Tags:
Comment:
Fix fatal left over from preferences rewrite, that no one noticed because this particular function isn't used *anywhere* in core... :D
Modified paths:
/trunk/phase3/includes/User.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/User.php
—
—
@@ -2483,7 +2483,7 @@
2484
2484
$user = new User;
2485
2485
$user->load();
2486
2486
if ( isset( $params['options'] ) ) {
2487
- $user->mOptions = $params['options'] + $user->mOptions;
2487
+ $user->mOptions = $params['options'] + (array)$user->mOptions;
2488
2488
unset( $params['options'] );
2489
2489
}
2490
2490
$dbw = wfGetDB( DB_MASTER );
Status & tagging log
20:27, 29 September 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r56249
[
removed:
new
added:
ok]