mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(legacy) fix coding errors in user password manager
This commit is contained in:
parent
d4d68e0ce4
commit
230564b3ba
@ -36,7 +36,6 @@ if (session_status() == PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
$username = $_SESSION['Username'];
|
||||
session_write_close();
|
||||
|
||||
if (isset($_POST['save'])) {
|
||||
unset($input_errors);
|
||||
@ -62,6 +61,8 @@ if (isset($_POST['save'])) {
|
||||
}
|
||||
}
|
||||
|
||||
session_write_close();
|
||||
|
||||
/* determine if user is not local to system */
|
||||
$islocal = false;
|
||||
foreach ($config['system']['user'] as $user) {
|
||||
@ -85,10 +86,10 @@ include("head.inc");
|
||||
<div class="row">
|
||||
<?
|
||||
|
||||
if ($input_errors) {
|
||||
if (isset($input_errors)) {
|
||||
print_input_errors($input_errors);
|
||||
}
|
||||
if ($savemsg) {
|
||||
if (isset($savemsg)) {
|
||||
print_info_box($savemsg);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user