Skip to content

Commit

Permalink
more efficient
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 25, 2015
1 parent 715dddc commit 37965d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/Mime/lib/Horde/Mime/Part/Iterator.php
Expand Up @@ -98,9 +98,9 @@ public function next()
$out = $this->_state->current->getPartByIndex($this->_state->index++);

if ($out) {
array_push(
$this->_state->recurse,
array($this->_state->current, $this->_state->index)
$this->_state->recurse[] = array(
$this->_state->current,
$this->_state->index
);
$this->_state->current = $out;
$this->_state->index = 0;
Expand Down

0 comments on commit 37965d8

Please sign in to comment.