diff --git a/htdocs/telephonie/ligne/commande/archives.php b/htdocs/telephonie/ligne/commande/archives.php index 42b38f36d1d..83445d9cb0e 100644 --- a/htdocs/telephonie/ligne/commande/archives.php +++ b/htdocs/telephonie/ligne/commande/archives.php @@ -87,7 +87,14 @@ if ($result) $dir = $conf->telephonie->dir_output . "/ligne/commande/"; $relativepath = urlencode("ligne/commande/".$obj->filename); - print ''.$obj->filename.''; + if (substr($obj->filename, -3) == 'txt') + { + print ''.$obj->filename.''; + } + else + { + print ''.$obj->filename.''; + } print "\n"; $i++;