Fixed PHP Notice "Undefined variable: suplink"
This commit is contained in:
parent
6c1bd67591
commit
fe57e2e06b
|
@ -114,8 +114,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
|
||||||
$this->show_xml_timeline($notice);
|
$this->show_xml_timeline($notice);
|
||||||
break;
|
break;
|
||||||
case 'rss':
|
case 'rss':
|
||||||
$this->show_rss_timeline($notice, $title, $link,
|
$this->show_rss_timeline($notice, $title, $link, $subtitle);
|
||||||
$subtitle, $suplink);
|
|
||||||
break;
|
break;
|
||||||
case 'atom':
|
case 'atom':
|
||||||
if (isset($apidata['api_arg'])) {
|
if (isset($apidata['api_arg'])) {
|
||||||
|
@ -127,7 +126,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
|
||||||
'api/laconica/groups/timeline.atom';
|
'api/laconica/groups/timeline.atom';
|
||||||
}
|
}
|
||||||
$this->show_atom_timeline($notice, $title, $id, $link,
|
$this->show_atom_timeline($notice, $title, $id, $link,
|
||||||
$subtitle, $suplink, $selfuri);
|
$subtitle, null, $selfuri);
|
||||||
break;
|
break;
|
||||||
case 'json':
|
case 'json':
|
||||||
$this->show_json_timeline($notice);
|
$this->show_json_timeline($notice);
|
||||||
|
|
|
@ -88,8 +88,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
|
||||||
$this->show_xml_timeline($notice);
|
$this->show_xml_timeline($notice);
|
||||||
break;
|
break;
|
||||||
case 'rss':
|
case 'rss':
|
||||||
$this->show_rss_timeline($notice, $title, $link,
|
$this->show_rss_timeline($notice, $title, $link, $subtitle);
|
||||||
$subtitle, $suplink);
|
|
||||||
break;
|
break;
|
||||||
case 'atom':
|
case 'atom':
|
||||||
if (isset($apidata['api_arg'])) {
|
if (isset($apidata['api_arg'])) {
|
||||||
|
@ -101,7 +100,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
|
||||||
'api/laconica/tags/timeline.atom';
|
'api/laconica/tags/timeline.atom';
|
||||||
}
|
}
|
||||||
$this->show_atom_timeline($notice, $title, $id, $link,
|
$this->show_atom_timeline($notice, $title, $id, $link,
|
||||||
$subtitle, $suplink, $selfuri);
|
$subtitle, null, $selfuri);
|
||||||
break;
|
break;
|
||||||
case 'json':
|
case 'json':
|
||||||
$this->show_json_timeline($notice);
|
$this->show_json_timeline($notice);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user