From ac778fbc32cdecc5b63ba33416cb0ba14c281fa4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 18 Mar 2006 15:52:23 +0000 Subject: [PATCH] Fix: Soumission paiement impossible --- htdocs/fourn/facture/paiement.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index dcb0ce58c82..1458158a514 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -1,7 +1,7 @@ * Copyright (C) 2004 Éric Seigne - * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2004 Christophe Combelles * Copyright (C) 2005 Marc Barilley / Ocebo * @@ -44,15 +44,15 @@ $sortfield = isset($_GET['sortfield'])?$_GET['sortfield']:$_POST['sortfield']; $sortorder = isset($_GET['sortorder'])?$_GET['sortorder']:$_POST['sortorder']; $page=isset($_GET['page'])?$_GET['page']:$_POST['page']; - -/* - * Sécurité accés client - */ +// Sécurité accés client +$socidp=0; if ($user->societe_id > 0) { $action = ''; $socidp = $user->societe_id; } + + /* * Actions */ @@ -216,7 +216,7 @@ if ($action == 'create' || $action == 'add_paiement') $total = $obj->total; print_titre($langs->trans('DoPayment')); - print '
'; + print ''; print ''; print ''; print '';