Skip to content

Commit

Permalink
I think there should be set the pointer to the end as plugin indexing…
Browse files Browse the repository at this point in the history
  • Loading branch information
nextend committed Jul 15, 2013
1 parent b682357 commit e462d8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/joomla/event/dispatcher.php
Expand Up @@ -227,6 +227,7 @@ public function attach($observer)

$this->_observers[] = $observer;
$methods = array_diff(get_class_methods($observer), get_class_methods('JPlugin'));
end($this->_observers);
}

$key = key($this->_observers);
Expand Down

0 comments on commit e462d8e

Please sign in to comment.