Bernd Wurst commited on 2018-07-18 12:55:40
Zeige 1 geänderte Dateien mit 1 Einfügungen und 2 Löschungen.
| ... | ... |
@@ -70,7 +70,6 @@ else |
| 70 | 70 |
header('Location: account');
|
| 71 | 71 |
} |
| 72 | 72 |
} elseif ($_GET['action'] == 'edit') {
|
| 73 |
- $error = false; |
|
| 74 | 73 |
check_form_token('systemuser_edit');
|
| 75 | 74 |
$account = null; |
| 76 | 75 |
if ($role & ROLE_CUSTOMER) {
|
| ... | ... |
@@ -104,7 +103,7 @@ else |
| 104 | 103 |
} |
| 105 | 104 |
|
| 106 | 105 |
set_account_details($account); |
| 107 |
- if (! ($debugmode || $error)) {
|
|
| 106 |
+ if (! ($debugmode)) {
|
|
| 108 | 107 |
$location = 'myaccount'; |
| 109 | 108 |
if ($_SESSION['role'] & ROLE_CUSTOMER) {
|
| 110 | 109 |
$location = 'account'; |
| 111 | 110 |