[pLog-svn] r3132 - plog/trunk/class/dao
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Mar 27 01:42:23 GMT 2006
Author: jondaley
Date: 2006-03-27 01:42:23 +0000 (Mon, 27 Mar 2006)
New Revision: 3132
Modified:
plog/trunk/class/dao/bloginfo.class.php
Log:
reverted change 3110. === can be used for other things than TRUE/FALSE checking. My bad. I hadn't ever seen it used like that before -- for the rest of you, who presumably believed me when I checked in the 'fix' -- === checks value and type of variable. Not entirely sure what this means in the case of null, but in any case, my fix was unnecessary
Modified: plog/trunk/class/dao/bloginfo.class.php
===================================================================
--- plog/trunk/class/dao/bloginfo.class.php 2006-03-26 17:37:23 UTC (rev 3131)
+++ plog/trunk/class/dao/bloginfo.class.php 2006-03-27 01:42:23 UTC (rev 3132)
@@ -316,7 +316,7 @@
{
include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- if( $this->_usersInfo == null ) {
+ if( $this->_usersInfo === null ) {
$users = new Users();
$blogUsers = $users->getBlogUsers( $this->getId());
$this->setUsersInfo( $blogUsers );
More information about the pLog-svn
mailing list