improved user_validation

This commit is contained in:
Serghey Rodin 2012-11-14 01:51:14 +02:00
commit fe0f39abc0
2 changed files with 2 additions and 1 deletions

View file

@ -30,6 +30,7 @@ function top_panel($user, $TAB) {
exec ($command, $output, $return_var);
if ( $return_var > 0 ) {
header("Location: /error/");
exit;
}
$panel = json_decode(implode('', $output), true);
unset($output);