forked from Wavyzz/dolibarr
Fix: Dclenchement des triggers incorrects sur modif mot de passe adhrent ou user
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -569,6 +568,8 @@ class Adherent
|
||||
{
|
||||
if ($this->user_id && ! $nosyncuser)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/user.class.php");
|
||||
|
||||
// This member is linked with a user, so we also update users informations
|
||||
// if this is an update.
|
||||
$luser=new User($this->db);
|
||||
@@ -774,6 +775,8 @@ class Adherent
|
||||
|
||||
if ($this->user_id && ! $nosyncuser)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/user.class.php");
|
||||
|
||||
// This member is linked with a user, so we also update users informations
|
||||
// if this is an update.
|
||||
$luser=new User($this->db);
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -984,6 +983,8 @@ class User
|
||||
{
|
||||
if ($this->fk_member && ! $nosyncmember)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/adherents/adherent.class.php");
|
||||
|
||||
// This user is linked with a member, so we also update members informations
|
||||
// if this is an update.
|
||||
$adh=new Adherent($this->db);
|
||||
@@ -1172,6 +1173,8 @@ class User
|
||||
|
||||
if ($this->fk_member && ! $nosyncmember)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/adherents/adherent.class.php");
|
||||
|
||||
// This user is linked with a member, so we also update members informations
|
||||
// if this is an update.
|
||||
$adh=new Adherent($this->db);
|
||||
|
||||
Reference in New Issue
Block a user