Skip to content

Commit 9bc3143

Browse files
committed
perf fixed
1 parent 4c862fd commit 9bc3143

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Ajax/semantic/html/collections/HtmlBreadcrumb.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ public function asTexts() {
215215

216216
public function setAbsolutePaths($absolutePaths) {
217217
$this->absolutePaths=$absolutePaths;
218-
for($i=0;$i<\sizeof($this->content);$i++){
218+
$size=\sizeof($this->content);
219+
for($i=0;$i<$size;$i++){
219220
$this->content[$i]->setProperty($this->attr, $this->getHref($i));
220221
}
221222
return $this;

0 commit comments

Comments
 (0)