diff --git a/web/api.php b/web/api.php index d37e95b..bfbb9f2 100644 --- a/web/api.php +++ b/web/api.php @@ -74,7 +74,7 @@ switch($action) } } if(is_array($emaillist)) - ksort($emaillist); + krsort($emaillist); $data = (count($emaillist)?$emaillist:array()); }