[pLog-svn] r3978 - plog/branches/lifetype-1.1.1/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Sep 17 11:09:49 GMT 2006
Author: oscar
Date: 2006-09-17 11:09:47 +0000 (Sun, 17 Sep 2006)
New Revision: 3978
Modified:
plog/branches/lifetype-1.1.1/class/dao/articlecategories.class.php
Log:
Added a missing '&' so that the object can be passed by reference
Modified: plog/branches/lifetype-1.1.1/class/dao/articlecategories.class.php
===================================================================
--- plog/branches/lifetype-1.1.1/class/dao/articlecategories.class.php 2006-09-16 23:05:25 UTC (rev 3977)
+++ plog/branches/lifetype-1.1.1/class/dao/articlecategories.class.php 2006-09-17 11:09:47 UTC (rev 3978)
@@ -226,7 +226,7 @@
* @return False if error or the article category identifier if successful.
* @see Category
*/
- function addArticleCategory( $articleCategory )
+ function addArticleCategory( &$articleCategory )
{
if(( $result = $this->add( $articleCategory, Array( CACHE_ARTICLE_CATEGORIES => "getId" )))) {
$this->_cache->removeData( $articleCategory->getBlogId(), CACHE_ARTICLE_CATEGORIES_BLOG );
More information about the pLog-svn
mailing list