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

svn at limb-project.com svn at limb-project.com
Thu Oct 18 11:42:40 MSD 2007


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

Modified:
   3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php
Log:
-- change 'required' property in valueObject definition to 'can_be_null'

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:33:02 UTC (rev 6434)
+++ 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php	2007-10-18 07:42:40 UTC (rev 6435)
@@ -860,7 +860,7 @@
 
   protected function _isRequiedValueObject($property)
   {
-    if(isset($this->_composed_of[$property]['required']) && !$this->_composed_of[$property]['required'])
+    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