From d6776e115595549dffd2113866432f180da105b0 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Mon, 3 Aug 2015 11:39:24 +0200 Subject: [PATCH] FIX : Error management in societe/soc.php --- htdocs/societe/soc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index ff5e7918b43..e650a8ea760 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -740,7 +740,7 @@ $formcompany = new FormCompany($db); if ($socid > 0 && empty($object->id)) { - $res=$object->fetch($socid); + $result=$object->fetch($socid); if ($result <= 0) dol_print_error('',$object->error); }