2
0
forked from Wavyzz/dolibarr

Fix: Dclenchement des triggers incorrects sur modif mot de passe adhrent ou user

This commit is contained in:
Laurent Destailleur
2007-10-21 23:18:13 +00:00
parent 977f0a3fc1
commit 0fa552074a
2 changed files with 8 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);