Erreur soap sur siren inexistant
This commit is contained in:
parent
b8dd4c7504
commit
ec6611a0e7
@ -55,7 +55,7 @@ class Entreprise extends WsScore
|
||||
$fp = fopen(LOG_PATH.'/accesDistant.log', 'a');
|
||||
fwrite($fp,$ligne.EOL);
|
||||
fclose($fp);
|
||||
if (empty($entrep)) {
|
||||
if (empty($entrep) || empty($entrep['id']) ) {
|
||||
debugLog('W', "Siren $siren non présent en base", __LINE__, __FILE__, __FUNCTION__, __CLASS__);
|
||||
$this->sendError('1020');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user