The delete profile form was no more visible due to a missing echo

Sorry. I missed this one. It was on my list of errors but I forgot it.
This commit is contained in:
Nickeau 2024-02-12 17:50:40 +01:00 committed by GitHub
parent af43012a7a
commit 1ef69b555b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class UserProfile extends Ui
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>';