[pLog-svn] r5239 - plugins/branches/lifetype-1.2/technoratitagcloud

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Sat Mar 31 01:47:50 EDT 2007


Author: pwestbro
Date: 2007-03-31 01:47:50 -0400 (Sat, 31 Mar 2007)
New Revision: 5239

Modified:
   plugins/branches/lifetype-1.2/technoratitagcloud/plugintechnoratitagcloud.class.php
Log:
Fixed php notice


Modified: plugins/branches/lifetype-1.2/technoratitagcloud/plugintechnoratitagcloud.class.php
===================================================================
--- plugins/branches/lifetype-1.2/technoratitagcloud/plugintechnoratitagcloud.class.php	2007-03-31 05:45:35 UTC (rev 5238)
+++ plugins/branches/lifetype-1.2/technoratitagcloud/plugintechnoratitagcloud.class.php	2007-03-31 05:47:50 UTC (rev 5239)
@@ -103,10 +103,10 @@
 		$api->params = array('url' => $url, 'limit' => $this->showtags);
 		$items = $api->get_content();
 
-		if(!isset($items[item]))
+		if(!isset($items['item']))
 			return true;
 
-		foreach ($items[item] as $item)
+		foreach ($items['item'] as $item)
 			$tagData[$item['tag']] = $item['posts'] ;
 		
 		arsort($tagData);



More information about the pLog-svn mailing list