[pLog-svn] r3071 - plog/trunk/class/action/admin

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Mar 14 17:27:28 GMT 2006


Author: mark
Date: 2006-03-14 17:27:27 +0000 (Tue, 14 Mar 2006)
New Revision: 3071

Modified:
   plog/trunk/class/action/admin/admindefaultaction.class.php
Log:
Fix a notice.

Modified: plog/trunk/class/action/admin/admindefaultaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindefaultaction.class.php	2006-03-14 04:52:59 UTC (rev 3070)
+++ plog/trunk/class/action/admin/admindefaultaction.class.php	2006-03-14 17:27:27 UTC (rev 3071)
@@ -35,7 +35,7 @@
             	$sessionInfo = $session["SessionInfo"];
                 $this->_blogInfo    = $sessionInfo->getValue( "blogInfo" );
                 $this->_userInfo    = $sessionInfo->getValue( "userInfo" );
-                if( $this->_blogInfo == "" || $this->_userInfo == "" )
+                if( empty($this->_blogInfo) || empty($this->_userInfo) )
                 	return false;
                 else
                 	return true;



More information about the pLog-svn mailing list