From 3db9a49275da2966e4ae5ada8f2c685c747bce21 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 17 Nov 2011 15:52:38 +0100 Subject: [PATCH] Fix: bad object typo --- htdocs/comm/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 6bbd07771b2..c8f81608ad6 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