From 9d4114fb13f13cf76a8eea71800a16152b4cc784 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 14 May 2006 16:58:08 +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 16217490093..16ba0e314c2 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -325,7 +325,7 @@ if ($action=='remove_file') if ($com->fetch($id)) { - $upload_dir = $conf->commande->dir_output . "/" . $com->ref; + $upload_dir = $conf->commande->dir_output . "/"; $file = $upload_dir . '/' . urldecode($_GET['file']); dol_delete_file($file); $mesg = '
'.$langs->trans("FileWasRemoved").'
';