diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 6bbd07771b2..aaf89d6fd21 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -105,7 +105,7 @@ if ($action == 'setconditions' && $user->rights->societe->creer) // mode de reglement if ($action == 'setmode' && $user->rights->societe->creer) { - $obejct->fetch($id); + $object->fetch($id); $object->mode_reglement=$_POST['mode_reglement_id']; // TODO move to DAO class @@ -502,7 +502,7 @@ if ($id > 0) { $objp = $db->fetch_object($resql); print "