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

ork at devel.plogworld.net ork at devel.plogworld.net
Sun Jun 12 11:18:54 GMT 2005


Author: ork
Date: 2005-06-12 11:18:54 +0000 (Sun, 12 Jun 2005)
New Revision: 2217

Modified:
   plog/trunk/class/dao/articles.class.php
Log:
get the custom fields right away and add them to the cache.


Modified: plog/trunk/class/dao/articles.class.php
===================================================================
--- plog/trunk/class/dao/articles.class.php	2005-06-12 11:15:35 UTC (rev 2216)
+++ plog/trunk/class/dao/articles.class.php	2005-06-12 11:18:54 UTC (rev 2217)
@@ -58,6 +58,8 @@
 
                 $article = $this->_fillArticleInformation( $result->FetchRow( $result ) );
 
+                $article->getFields();
+
                 $this->_cache->setData( $article->getId(), CACHE_ARTICLES, $article );
             }
             return $article;




More information about the pLog-svn mailing list