Skip to content

Commit

Permalink
Evarisk#762 [Triggers] fix: call trigger validate instead of validated
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-micka committed May 22, 2023
1 parent 5ee0ad0 commit 55b2d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/control.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public function setValidated($user, $notrigger = 0)

if (!$error && !$notrigger) {
// Call trigger
$result = $this->call_trigger('CONTROL_VALIDATED', $user);
$result = $this->call_trigger('CONTROL_VALIDATE', $user);
if ($result < 0) {
$error++;
}
Expand Down

0 comments on commit 55b2d0b

Please sign in to comment.