diff options
author | friendica <info@friendica.com> | 2011-12-15 01:09:38 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-12-15 01:09:38 -0800 |
commit | 6d7781434bedda23366e6c007c15f85b80a0e073 (patch) | |
tree | 12290fbda344cb3764e3edd846a4395c13a0a05d /mod/home.php | |
parent | cb2e68c88ef6d5b50f3636066d76f5ecfe68cf13 (diff) | |
download | volse-hubzilla-6d7781434bedda23366e6c007c15f85b80a0e073.tar.gz volse-hubzilla-6d7781434bedda23366e6c007c15f85b80a0e073.tar.bz2 volse-hubzilla-6d7781434bedda23366e6c007c15f85b80a0e073.zip |
must use named vars in plugin args
Diffstat (limited to 'mod/home.php')
-rw-r--r-- | mod/home.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/home.php b/mod/home.php index 8db5b26ac..0320c1b39 100644 --- a/mod/home.php +++ b/mod/home.php @@ -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'] ); |