diff options
author | xue <> | 2006-06-03 15:38:11 +0000 |
---|---|---|
committer | xue <> | 2006-06-03 15:38:11 +0000 |
commit | 625a8fc5df7e320e7361b1e30ed4211673e59c8d (patch) | |
tree | 4be62c86f7e4bc96dbdbd9371fcac7ca354854e2 /framework/Web/UI/WebControls | |
parent | 060fd0ee49db65b1bef91cc77b4d5d7825e12b2d (diff) |
Fixed an error message bug.
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r-- | framework/Web/UI/WebControls/TListControl.php | 2 |
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;
|