soft-ui-dashboard-laravel icon indicating copy to clipboard operation
soft-ui-dashboard-laravel copied to clipboard

Fixed error "Undefined variable $attribute" when changing email

Open JulianPrieber opened this issue 1 year ago • 0 comments

Fixed spelling in variable

Fixed error "Undefined variable $attribute" when changing email on the user-profile page.

How to reproduce

Navigate to xyz.local/user-profile and change the email address in the form. This will throw an "Undefined variable $attribute" error exception.

Fix

Changing "$attribute" to "$attributes" in app/Http/Controllers/InfoUserController.php fixes this issue.

JulianPrieber avatar Oct 31 '23 13:10 JulianPrieber