Browse code

make sure is initialized to avoid PHP warning

Hanno authored on 17/07/2018 18:12:44
Showing 1 changed files
... ...
@@ -70,6 +70,7 @@ else
70 70
         header('Location: account');
71 71
     }
72 72
 } elseif ($_GET['action'] == 'edit') {
73
+    $error = false;
73 74
     check_form_token('systemuser_edit');
74 75
     $account = null;
75 76
     if ($role & ROLE_CUSTOMER) {