[limb-svn] r6264 - 3.x/trunk/limb/wact/src/compiler/compile_tree_node

svn at limb-project.com svn at limb-project.com
Thu Sep 6 10:42:53 MSD 2007


Author: serega
Date: 2007-09-06 10:42:53 +0400 (Thu, 06 Sep 2007)
New Revision: 6264
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6264

Modified:
   3.x/trunk/limb/wact/src/compiler/compile_tree_node/WactCompileTreeNode.class.php
Log:
-- WactCompileTreeNode now searches property upto root parent node and doesn't break the search if property not found in the current node and if this node is a datasource as it was before.

Modified: 3.x/trunk/limb/wact/src/compiler/compile_tree_node/WactCompileTreeNode.class.php
===================================================================
--- 3.x/trunk/limb/wact/src/compiler/compile_tree_node/WactCompileTreeNode.class.php	2007-09-05 13:33:22 UTC (rev 6263)
+++ 3.x/trunk/limb/wact/src/compiler/compile_tree_node/WactCompileTreeNode.class.php	2007-09-06 06:42:53 UTC (rev 6264)
@@ -210,9 +210,7 @@
     if (array_key_exists($name, $this->properties))
         return $this->properties[$name];
 
-    if ($this->isDataSource())
-      return null;
-    elseif($this->parent)
+    if($this->parent)
       return $this->parent->getProperty($name);
   }
 



More information about the limb-svn mailing list