Skip to content

Commit

Permalink
The delete profile form was no more visible due to a missing echo
Browse files Browse the repository at this point in the history
Sorry. I missed this one. It was on my list of errors but I forgot it.
  • Loading branch information
gerardnico committed Feb 12, 2024
1 parent af43012 commit 1ef69b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Ui/UserProfile.php
Expand Up @@ -40,7 +40,7 @@ public function show()
echo $this->updateProfileForm($userinfo)->toHTML('UpdateProfile');
echo $this->tokenForm($userinfo['user'])->toHTML();
if ($auth->canDo('delUser') && actionOK('profile_delete')) {
$this->deleteProfileForm()->toHTML('ProfileDelete');
echo $this->deleteProfileForm()->toHTML('ProfileDelete');
}

echo '</div>';
Expand Down

0 comments on commit 1ef69b5

Please sign in to comment.