Index: trunk/extensions/Newuserlog/Newuserlog.php |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | $wgHooks['AddNewAccount'][] = 'wfNewuserlogHook'; |
53 | 53 | } |
54 | 54 | |
55 | | -function wfNewuserlogHook( $user ) { |
| 55 | +function wfNewuserlogHook( $user=null ) { |
56 | 56 | global $wgUser, $wgContLang; |
57 | 57 | |
58 | 58 | if( is_null( $user ) ) { |