We have moved to Github. Please open tickets there.

Opened 4 years ago

Closed 4 years ago

#609 closed Defect (fixed)

Trigger for user validation is incorrect

Reported by: brettp Owned by:
Priority: normal Milestone:
Component: Core Version: 1.0
Severity: minor Keywords: validation
Cc: brettp Difficulty:

Description

The trigger for user validation has the object type and event fields switched.

The call is:

trigger_elgg_event('user', 'validate', $user)

But should be:

trigger_elgg_event('validate', 'user', $user)

The attached patch corrects the error in engine/lib/users.php and the corresponding event handler in mod/uservalidationbyemail/start.php.

Attachments (1)

elgg_user_verification_trigger.patch (982 bytes) - added by brettp 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by brettp

comment:1 Changed 4 years ago by marcus

  • Resolution set to fixed
  • Status changed from new to closed

(In [svn:2503]) Closes #609

Note: See TracTickets for help on using tickets.