From df926415b00f7937d02ee05ba148ff80d5815a4f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 14 May 2006 16:57:04 +0000 Subject: [PATCH] Fix: le bouton d'effacement des preview ne fontionnait pas --- htdocs/commande/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 03ac96d6c9e..16217490093 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -326,7 +326,7 @@ if ($action=='remove_file') if ($com->fetch($id)) { $upload_dir = $conf->commande->dir_output . "/" . $com->ref; - $file = $upload_dir . '/' . urldecode($_GET['urlfile']); + $file = $upload_dir . '/' . urldecode($_GET['file']); dol_delete_file($file); $mesg = '
'.$langs->trans("FileWasRemoved").'
'; }