must use named vars in plugin args
This commit is contained in:
parent
cb2e68c88e
commit
6d7781434b
|
@ -3,7 +3,8 @@
|
|||
if(! function_exists('home_init')) {
|
||||
function home_init(&$a) {
|
||||
|
||||
call_hooks('home_init',array());
|
||||
$ret = array();
|
||||
call_hooks('home_init',$ret);
|
||||
|
||||
if(local_user() && ($a->user['nickname']))
|
||||
goaway( $a->get_baseurl() . "/profile/" . $a->user['nickname'] );
|
||||
|
|
Loading…
Reference in a new issue