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

@ -14,7 +14,7 @@ top_panel($user,$TAB);
// Data
exec (VESTA_CMD."v-list-databases $user json", $output, $return_var);
$data = json_decode(implode('', $output), true);
$data = array_reverse($data);
$data = array_reverse($data, true);
unset($output);
if ($_SESSION['user'] == 'admin') {