commit
aecb32ed97
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ if (($action == 'searchfiles' || $action == 'dl')) {
|
|||
*ZIP creation
|
||||
*/
|
||||
|
||||
$dirfortmpfile = ($conf->accounting->dir_temp ? $conf->accounting->dir_temp : $conf->comptabilite->dir_temp);
|
||||
$dirfortmpfile = (!empty($conf->accounting->dir_temp) ? $conf->accounting->dir_temp : $conf->comptabilite->dir_temp);
|
||||
if (empty($dirfortmpfile)) {
|
||||
setEventMessages($langs->trans("ErrorNoAccountingModuleEnabled"), null, 'errors');
|
||||
$error++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue