summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorknut <>2006-02-22 21:46:16 +0000
committerknut <>2006-02-22 21:46:16 +0000
commita30da2e71ad2ed23cbcb6011ab848ab888b2dd46 (patch)
tree1225b90b956f6489f504450bdd72ac63866224a5 /framework/Web
parent45ddffcfc4ff5b732f9f39719430b461345c8f7a (diff)
Did some minor optimization tweaks
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.