giving extensions numeric IDs in an array does not put them in numeric order; do an explicit sort...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@164 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
927199430f
commit
3c1916f428
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ function add_event_listener($block, $pos=50) {
|
|||
|
||||
function send_event($event) {
|
||||
global $_event_listeners;
|
||||
ksort($_event_listeners);
|
||||
foreach($_event_listeners as $listener) {
|
||||
$listener->receive_event($event);
|
||||
}
|
||||
|
|
Reference in a new issue