preserve keys in array_reverse()

This commit is contained in:
Serghey Rodin 2013-02-20 14:37:07 +02:00
commit ee1fb98337
11 changed files with 17 additions and 17 deletions

View file

@ -15,7 +15,7 @@ top_panel($user,$TAB);
if ($_SESSION['user'] == 'admin') {
exec (VESTA_CMD."v-list-user-packages json", $output, $return_var);
$data = json_decode(implode('', $output), true);
$data = array_reverse($data);
//$data = array_reverse($data, true);
unset($output);
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_packages.html');
}