This commit is contained in:
Michael RICOIS 2015-07-06 13:52:18 +00:00
parent 5dfb7f42d2
commit d1c46cc1e0

View File

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