From f88646d954664e48a2c2a59b9be3451286268384 Mon Sep 17 00:00:00 2001
From: BENKE Charles <charles.fr@benke.fr>
Date: Wed, 11 Mar 2015 10:22:37 +0100
Subject: [PATCH] Update export.class.php

---
 htdocs/exports/class/export.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/exports/class/export.class.php b/htdocs/exports/class/export.class.php
index 9ff540a92f2..707b38e1ef7 100644
--- a/htdocs/exports/class/export.class.php
+++ b/htdocs/exports/class/export.class.php
@@ -524,7 +524,7 @@ class Export
 		if ($resql)
 		{
 			//$this->array_export_label[$indice]
-			if ($conf->global->EXPORT_PREFIX)
+			if ($conf->global->EXPORT_PREFIX_SPEC)
 				$filename=$conf->global->EXPORT_PREFIX_SPEC."_".$datatoexport;
 			else
 				$filename="export_".$datatoexport;
-- 
GitLab