]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed PHP Notice "Undefined variable: suplink"
authorJeffery To <jeffery.to@gmail.com>
Sun, 2 Aug 2009 11:47:36 +0000 (19:47 +0800)
committerJeffery To <jeffery.to@gmail.com>
Sun, 2 Aug 2009 11:47:36 +0000 (19:47 +0800)
actions/twitapigroups.php
actions/twitapitags.php

index f899bc36986590614a8bb91ed04b6fb08a9f428d..82604ebff2b90a44a6fb6fbdfb55a1187b0e947b 100644 (file)
@@ -114,8 +114,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
              $this->show_xml_timeline($notice);
              break;
           case 'rss':
-             $this->show_rss_timeline($notice, $title, $link,
-                 $subtitle, $suplink);
+             $this->show_rss_timeline($notice, $title, $link, $subtitle);
              break;
           case 'atom':
              if (isset($apidata['api_arg'])) {
@@ -127,7 +126,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
                   'api/laconica/groups/timeline.atom';
              }
              $this->show_atom_timeline($notice, $title, $id, $link,
-                 $subtitle, $suplink, $selfuri);
+                 $subtitle, null, $selfuri);
              break;
           case 'json':
              $this->show_json_timeline($notice);
index 5c852753028f80131e8b8e6e12314c7272f8c380..e19e1b1ed6f383e8073499f7f3b802e81c28f64c 100644 (file)
@@ -88,8 +88,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
              $this->show_xml_timeline($notice);
              break;
           case 'rss':
-             $this->show_rss_timeline($notice, $title, $link,
-                 $subtitle, $suplink);
+             $this->show_rss_timeline($notice, $title, $link, $subtitle);
              break;
           case 'atom':
              if (isset($apidata['api_arg'])) {
@@ -101,7 +100,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
                   'api/laconica/tags/timeline.atom';
              }
              $this->show_atom_timeline($notice, $title, $id, $link,
-                 $subtitle, $suplink, $selfuri);
+                 $subtitle, null, $selfuri);
              break;
           case 'json':
              $this->show_json_timeline($notice);