summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-06-03 15:38:11 +0000
committerxue <>2006-06-03 15:38:11 +0000
commit625a8fc5df7e320e7361b1e30ed4211673e59c8d (patch)
tree4be62c86f7e4bc96dbdbd9371fcac7ca354854e2 /framework
parent060fd0ee49db65b1bef91cc77b4d5d7825e12b2d (diff)
Fixed an error message bug.
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TListControl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php
index 5a635297..91c7823d 100644
--- a/framework/Web/UI/WebControls/TListControl.php
+++ b/framework/Web/UI/WebControls/TListControl.php
@@ -195,7 +195,7 @@ abstract class TListControl extends TDataBoundControl
{
$index=$items->findIndexByValue($this->_cachedSelectedValue);
if($index===-1 || ($this->_cachedSelectedIndex!==-1 && $this->_cachedSelectedIndex!==$index))
- throw new TInvalidDataValueException('listcontrol_selection_invalid');
+ throw new TInvalidDataValueException('listcontrol_selection_invalid',get_class($this));
$this->setSelectedIndex($index);
$this->_cachedSelectedValue=null;
$this->_cachedSelectedIndex=-1;