mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
unified error msg variable
This commit is contained in:
parent
306907270e
commit
849d536993
7 changed files with 36 additions and 35 deletions
|
@ -14,7 +14,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
if (empty($error)) $error = 'Error: '.$v_pkg.' update failed';
|
||||
$_SESSION['error_upd'] = $error;
|
||||
$_SESSION['error_msg'] = $error;
|
||||
}
|
||||
unset($output);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue