Skip to content

undefined index at RegisterationController.php at line 222 #36

Description

@innamhunzai

222: $user = $user[0];

The line gives error if user does not exist who is trying to reset password.

I have replaced it with

222: $user = isset($user[0])?$user[0]:null;

it is working fine now..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions