[pLog-svn] r1000 - plog/trunk/class/dao

ork at devel.plogworld.net ork at devel.plogworld.net
Tue Feb 8 14:53:37 GMT 2005


Author: ork
Date: 2005-02-08 14:53:36 +0000 (Tue, 08 Feb 2005)
New Revision: 1000

Modified:
   plog/trunk/class/dao/trackbacks.class.php
Log:
there might be not even one trackback.. so initialize as empty array


Modified: plog/trunk/class/dao/trackbacks.class.php
===================================================================
--- plog/trunk/class/dao/trackbacks.class.php	2005-02-08 14:51:48 UTC (rev 999)
+++ plog/trunk/class/dao/trackbacks.class.php	2005-02-08 14:53:36 UTC (rev 1000)
@@ -129,6 +129,8 @@
 		 */
         function getArticleTrackBacksByIds( $artIds )
         {
+            $trackbacks = array();
+
         	$query = "SELECT * FROM ".$this->getPrefix()."trackbacks WHERE article_id IN (".$artIds.")";
 
             $result = $this->Execute( $query );




More information about the pLog-svn mailing list