display request issue

This commit is contained in:
Friendika 2010-12-12 13:59:16 -08:00
parent a50343830f
commit 004193e849
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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);