From 3981d08386c0b8e6673cd86d3de9c8ccab9c8ebb Mon Sep 17 00:00:00 2001 From: simnandez Date: Wed, 29 Feb 2012 16:13:52 +0100 Subject: [PATCH] Fix: Bad coding --- htdocs/expedition/shipment.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php index 1e3f61900c161..f115336226273 100644 --- a/htdocs/expedition/shipment.php +++ b/htdocs/expedition/shipment.php @@ -1,7 +1,8 @@ - * Copyright (C) 2005-2010 Laurent Destailleur - * Copyright (C) 2005-2010 Regis Houssin + * Copyright (C) 2005-2012 Laurent Destailleur + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2012 Juanjo Menent * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -130,7 +131,7 @@ llxHeader('',$langs->trans('OrderCard'),''); -$id = GETPSOT('id'); +$id = GETPOST('id'); $ref= GETPOST('ref'); if ($id > 0 || ! empty($ref)) {