From 625a8fc5df7e320e7361b1e30ed4211673e59c8d Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 3 Jun 2006 15:38:11 +0000 Subject: Fixed an error message bug. --- framework/Web/UI/WebControls/TListControl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') 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; -- cgit v1.2.3