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:
shish 2007-06-26 11:58:47 +00:00
parent 927199430f
commit 3c1916f428

View file

@ -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);
}