From cb37a8475a8ba2527de573aaf8e54d4cf4655026 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 29 Jan 2012 23:07:44 +0100 Subject: [PATCH] Fix: Can edit price --- htdocs/product/price.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 7c11bcb3f2c..63739a4f44f 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2011 Laurent Destailleur + * Copyright (C) 2004-2012 Laurent Destailleur * Copyright (C) 2005 Eric Seigne * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2006 Andre Cianfarani @@ -272,7 +272,8 @@ print "\n"; print "\n"; -if ($mesg) print $mesg; + +dol_htmloutput_mesg($mesg); /* ************************************************************************** */ @@ -281,7 +282,7 @@ if ($mesg) print $mesg; /* */ /* ************************************************************************** */ -if ($action == 'delete') +if (! $action || $action == 'delete') { print "\n".'
'."\n"; @@ -531,5 +532,4 @@ else llxFooter(); $db->close(); - ?>