summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TWizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php
index 20d80eca..a8ed806f 100644
--- a/framework/Web/UI/WebControls/TWizard.php
+++ b/framework/Web/UI/WebControls/TWizard.php
@@ -330,7 +330,7 @@ class TWizard extends TPanel implements INamingContainer
$this->_steps[$i]->setVisible($i == $index);
//determine which link is active
- for($i = 0; $i < count($this->_sidebarLinks); $i++)
+ for($i = 0, $k = count($this->_sidebarLinks); $i < $k; $i++)
$this->_sidebarLinks[$i]->CssClass= ($i == $index)?'active':'';
//hide all the navigations first.