2
0
forked from Wavyzz/dolibarr

FIX : Error management in societe/soc.php

This commit is contained in:
Florian HENRY
2015-08-03 11:39:24 +02:00
parent 8562bc2369
commit d6776e1155

View File

@@ -740,7 +740,7 @@ $formcompany = new FormCompany($db);
if ($socid > 0 && empty($object->id)) if ($socid > 0 && empty($object->id))
{ {
$res=$object->fetch($socid); $result=$object->fetch($socid);
if ($result <= 0) dol_print_error('',$object->error); if ($result <= 0) dol_print_error('',$object->error);
} }