display request issue
This commit is contained in:
parent
a50343830f
commit
004193e849
2 changed files with 2 additions and 0 deletions
|
@ -6,6 +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_init($a,$which);
|
profile_init($a,$which);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -5,6 +5,7 @@ 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');
|
||||||
profile_init($a);
|
profile_init($a);
|
||||||
|
|
||||||
$item_id = (($a->argc > 2) ? intval($a->argv[2]) : 0);
|
$item_id = (($a->argc > 2) ? intval($a->argv[2]) : 0);
|
||||||
|
|
Loading…
Reference in a new issue