[pLog-svn] r1223 - plog/trunk/class/dao
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sat Feb 26 23:37:22 GMT 2005
Author: oscar
Date: 2005-02-26 23:37:22 +0000 (Sat, 26 Feb 2005)
New Revision: 1223
Modified:
plog/trunk/class/dao/bloginfo.class.php
Log:
fixed two stupid bugs introduced in the last commit
Modified: plog/trunk/class/dao/bloginfo.class.php
===================================================================
--- plog/trunk/class/dao/bloginfo.class.php 2005-02-26 23:04:51 UTC (rev 1222)
+++ plog/trunk/class/dao/bloginfo.class.php 2005-02-26 23:37:22 UTC (rev 1223)
@@ -175,7 +175,7 @@
// if it hasn't been loaded yet...
if( $this->_createTimestamp == null ) {
$blogs = new Blogs();
- $this->_createTimestamp = $blogs->getBlogCreateDate( $this->getId());
+ $this->setCreateDate( $blogs->getBlogCreateDate( $this->getId()));
}
return $this->_createTimestamp;
@@ -187,7 +187,7 @@
{
if( $this->_updateTimestamp == null ) {
$blogs = new Blogs();
- $this->_updateTimestamp = $blogs->getBlogUpdateDate( $this->getId());
+ $this->setUpdateDate( $blogs->getBlogUpdateDate( $this->getId()));
}
return $this->_updateTimestamp;
@@ -239,8 +239,8 @@
{
if( $this->_usersInfo == null ) {
$userpermissions = new UserPermissions();
- $blogUsers = $userpermissions->getBlogUsers( $blogInfo->getId());
- $blogInfo->setUsersInfo( $blogUsers );
+ $blogUsers = $userpermissions->getBlogUsers( $this->getId());
+ $this->setUsersInfo( $blogUsers );
}
return $this->_usersInfo;
More information about the pLog-svn
mailing list