summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TMultiView.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TMultiView.php')
-rw-r--r--framework/Web/UI/WebControls/TMultiView.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php
index fc4385c6..d44668f4 100644
--- a/framework/Web/UI/WebControls/TMultiView.php
+++ b/framework/Web/UI/WebControls/TMultiView.php
@@ -109,7 +109,7 @@ class TMultiView extends TControl
$index=$this->getActiveViewIndex();
$views=$this->getViews();
if($index>=$views->getCount())
- throw new TInvalidDataValueException('multiview_activeviewindex_invalid',$value);
+ throw new TInvalidDataValueException('multiview_activeviewindex_invalid',$index);
if($index<0)
return null;
$view=$views->itemAt($index);