diff options
author | Friendika <info@friendika.com> | 2010-12-12 14:33:04 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-12 14:33:04 -0800 |
commit | 0e39f60c041f8d614f8eb3c12c901b92ac08222f (patch) | |
tree | e011f7c7fa7bea67e3721a2bdea6abe81d80abc3 | |
parent | 004193e849520319d4cf582b2b2dfc277068be66 (diff) | |
download | volse-hubzilla-0e39f60c041f8d614f8eb3c12c901b92ac08222f.tar.gz volse-hubzilla-0e39f60c041f8d614f8eb3c12c901b92ac08222f.tar.bz2 volse-hubzilla-0e39f60c041f8d614f8eb3c12c901b92ac08222f.zip |
replace quick fix with correct fix
-rw-r--r-- | mod/dfrn_request.php | 3 | ||||
-rw-r--r-- | mod/display.php | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 60106661c..e1370dfd8 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -6,8 +6,7 @@ function dfrn_request_init(&$a) { if($a->argc > 1) $which = $a->argv[1]; - require_once('mod/profile.php'); - profile_init($a,$which); + profile_load($a,$which); return; }} diff --git a/mod/display.php b/mod/display.php index 369161619..990d0b431 100644 --- a/mod/display.php +++ b/mod/display.php @@ -5,8 +5,8 @@ function display_content(&$a) { $o = '<div id="live-display"></div>' . "\r\n"; - require_once('mod/profile.php'); - profile_init($a); + $nick = (($a->argc > 1) ? $a->argv[1] : ''); + profile_load($a,$nick); $item_id = (($a->argc > 2) ? intval($a->argv[2]) : 0); |