[pLog-svn] r539 - plog/trunk/class/net

subaochen at devel.plogworld.net subaochen at devel.plogworld.net
Sun Dec 19 12:57:15 GMT 2004


Author: subaochen
Date: 2004-12-19 12:57:14 +0000 (Sun, 19 Dec 2004)
New Revision: 539

Modified:
   plog/trunk/class/net/rawrequestgenerator.class.php
Log:
getCategoryId method is removed now, so just find first element of categoryIds array?


Modified: plog/trunk/class/net/rawrequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/rawrequestgenerator.class.php	2004-12-19 05:21:28 UTC (rev 538)
+++ plog/trunk/class/net/rawrequestgenerator.class.php	2004-12-19 12:57:14 UTC (rev 539)
@@ -141,7 +141,8 @@
         function postCategoryLink( $post )
         {
              $this->addParameter( "op", "Default" );
-             $this->addParameter( "postCategoryId", $post->getCategoryId());
+             $postCategoryIds = $post->getCategoryIds();
+             $this->addParameter( "postCategoryId", $postCategoryIds[0]);
              if( $this->_blogInfo != null )
                $this->addParameter( "blogId", $this->_blogInfo->getId());
  




More information about the pLog-svn mailing list