This commit is contained in:
Michael RICOIS 2017-03-16 15:13:03 +01:00
parent 26ea2e1021
commit 75d55a72cd

View File

@ -1200,7 +1200,7 @@ class Entreprise extends Scores_Ws_Server
if (!empty($item->{'idLoc'.$i.'Num'})) {
$ref = new LienRefId();
$ref->num = $item->{'idLoc'.$i.'Num'};
if ( !empty($item->{'idLoc'.$i.'Type'}) ) {
if (!empty($item->{'idLoc'.$i.'Type'})) {
try {
$sql = "SELECT idLocal, idPrincipal FROM sdv1.tabIdLocal WHERE id=:id";
$stmt = $this->conn->prepare($sql);