Skip to content

Wrong Variable Name #8753

@modxbot

Description

@modxbot

leffyrant created Redmine issue ID 8753

Lines 21-24 of this particular Processor are:

$canRemove = $this->processEventResponse($OnBeforeUserFormDelete);
if (!empty($*canRemove*)) {
    return $modx->error->failure($*canSave*);
}

So, you see that although the response is stored in the "canRemove" variable, the potential failure message contains variable "canSave".

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-corebugThe issue in the code or project, which should be addressed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions