Use id
This commit is contained in:
parent
5dfb7f42d2
commit
d1c46cc1e0
@ -187,7 +187,7 @@ class Gestion extends Scores_Ws_Server
|
||||
$userM = new Application_Model_Sdv1Utilisateurs();
|
||||
$userM->update(array(
|
||||
'dateDerniereConnexion'=> $dateConnexion
|
||||
), "idClient=".$this->User->idClient." AND login='".$this->User->login."'");
|
||||
), "id=".$this->User->id);
|
||||
} catch (Zend_Db_Exception $e) {
|
||||
if ($this->User->id == 1) {
|
||||
throw new SoapFault('ERR', $e->getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user