Skip to content

Commit

Permalink
Fix: MEMBER_MODIFY trigger not called if i change only extrafields
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Jun 14, 2018
1 parent e18a5d1 commit f9a86ba
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions htdocs/adherents/class/adherent.class.php
Expand Up @@ -599,14 +599,14 @@ function update($user,$notrigger=0,$nosyncuser=0,$nosyncuserpass=0,$nosyncthirdp
$error++;
}
}
}

if (! $error && ! $notrigger)
{
// Call trigger
$result=$this->call_trigger('MEMBER_MODIFY',$user);
if ($result < 0) { $error++; }
// End call triggers
}
if (! $error && ! $notrigger)
{
// Call trigger
$result=$this->call_trigger('MEMBER_MODIFY',$user);
if ($result < 0) { $error++; }
// End call triggers
}

if (! $error)
Expand Down

0 comments on commit f9a86ba

Please sign in to comment.