replace quick fix with correct fix
This commit is contained in:
parent
004193e849
commit
0e39f60c04
|
@ -6,8 +6,7 @@ function dfrn_request_init(&$a) {
|
||||||
if($a->argc > 1)
|
if($a->argc > 1)
|
||||||
$which = $a->argv[1];
|
$which = $a->argv[1];
|
||||||
|
|
||||||
require_once('mod/profile.php');
|
profile_load($a,$which);
|
||||||
profile_init($a,$which);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -5,8 +5,8 @@ function display_content(&$a) {
|
||||||
|
|
||||||
$o = '<div id="live-display"></div>' . "\r\n";
|
$o = '<div id="live-display"></div>' . "\r\n";
|
||||||
|
|
||||||
require_once('mod/profile.php');
|
$nick = (($a->argc > 1) ? $a->argv[1] : '');
|
||||||
profile_init($a);
|
profile_load($a,$nick);
|
||||||
|
|
||||||
$item_id = (($a->argc > 2) ? intval($a->argv[2]) : 0);
|
$item_id = (($a->argc > 2) ? intval($a->argv[2]) : 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user