[limb-svn] r6436 - 3.x/trunk/limb/active_record/src

svn at limb-project.com svn at limb-project.com
Thu Oct 18 11:44:39 MSD 2007


Author: korchasa
Date: 2007-10-18 11:44:39 +0400 (Thu, 18 Oct 2007)
New Revision: 6436
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6436

Modified:
   3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php
Log:
small fix for 'can_be_null' condition realisation

Modified: 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php
===================================================================
--- 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php	2007-10-18 07:42:40 UTC (rev 6435)
+++ 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php	2007-10-18 07:44:39 UTC (rev 6436)
@@ -860,7 +860,7 @@
 
   protected function _isRequiedValueObject($property)
   {
-    if(isset($this->_composed_of[$property]['can_be_null']) && !$this->_composed_of[$property]['can_be_null'])
+    if(isset($this->_composed_of[$property]['can_be_null']) && $this->_composed_of[$property]['can_be_null'])
       return false;
     else
       return true;     



More information about the limb-svn mailing list