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

svn at limb-project.com svn at limb-project.com
Fri May 30 13:18:09 MSD 2008


Author: pachanga
Date: 2008-05-30 13:18:09 +0400 (Fri, 30 May 2008)
New Revision: 7047
URL: http://fisheye.limb-project.com/changelog/limb/?cs=7047

Modified:
   3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php
Log:
-- minor code style fix

Modified: 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php
===================================================================
--- 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php	2008-05-27 14:12:38 UTC (rev 7046)
+++ 3.x/trunk/limb/active_record/src/lmbActiveRecord.class.php	2008-05-30 09:18:09 UTC (rev 7047)
@@ -672,7 +672,7 @@
       return new $info['collection']($relation, $this, $criteria, $this->_db_conn);
     elseif($this->_hasOneToManyRelation($relation))
       return new lmbAROneToManyCollection($relation, $this, $criteria, $this->_db_conn);
-    else if($this->_hasManyToManyRelation($relation))
+    elseif($this->_hasManyToManyRelation($relation))
       return new lmbARManyToManyCollection($relation, $this, $criteria, $this->_db_conn);
   }
 



More information about the limb-svn mailing list