summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TDataBoundControl.php
diff options
context:
space:
mode:
authorxue <>2006-01-19 17:14:45 +0000
committerxue <>2006-01-19 17:14:45 +0000
commit598fac7617264c20b5c7e6f914b5aba18a677b01 (patch)
tree08f916e232872b1309142176e12cc4d3a62e7f3b /framework/Web/UI/WebControls/TDataBoundControl.php
parentf56a3799ded6b18c98eb9810d9e4c79a9c23c796 (diff)
Fix a few issues with listcontrols about databinding.
Diffstat (limited to 'framework/Web/UI/WebControls/TDataBoundControl.php')
-rw-r--r--framework/Web/UI/WebControls/TDataBoundControl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TDataBoundControl.php b/framework/Web/UI/WebControls/TDataBoundControl.php
index 1108e0f6..aa177f07 100644
--- a/framework/Web/UI/WebControls/TDataBoundControl.php
+++ b/framework/Web/UI/WebControls/TDataBoundControl.php
@@ -334,7 +334,7 @@ abstract class TDataBoundControl extends TWebControl
return $list;
}
else if(is_array($value))
- return new TList($value);
+ return new TMap($value);
else if(($value instanceof Traversable) || $value===null)
return $value;
else