Skip to content

Commit

Permalink
Attach all files with ref.extension
Browse files Browse the repository at this point in the history
  • Loading branch information
leninrivas authored Oct 12, 2024
1 parent d7cac2f commit 498035e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/files.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2745,7 +2745,7 @@ function dol_most_recent_file($dir, $regexfilter = '', $excludefilter = array('(
if (!empty($conf->global->MAIN_EMAIL_ATTACH_ALL_FILES)) {
return isset($tmparray) ? $tmparray : null;
} else {
return isset($tmparray[0]) ? $tmparray[0] : null;
return isset($tmparray[0]) ? $tmparray[0] : null;
}
}

Expand Down

0 comments on commit 498035e

Please sign in to comment.