Skip to content

Commit

Permalink
initialize $form_submitted in displayProfileDetails to fix issue #230
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed Jul 9, 2024
1 parent 23084de commit 0749b1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/Profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private function displayProfileDetails(Client $client, string $password = "", st
$this->view_data['districts'] = District::getAll();
$this->view_data['defaultPassword'] = $password;
$this->view_data['defaultConfirmPassword'] = $password_confirm;
$this->view_data['form_submitted'] = false;

$this->view(
'Register',
Expand Down

0 comments on commit 0749b1a

Please sign in to comment.