[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/14: Fix bug : clean_filename removed the d
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 09/14: Fix bug : clean_filename removed the dot (extension) |
Date: |
Mon, 22 Aug 2022 12:21:53 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 34528ddaf274841903789345e13e09176f11beb6
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Aug 20 18:20:50 2022 +0200
Fix bug : clean_filename removed the dot (extension)
---
include/lib/user_common.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/lib/user_common.php b/include/lib/user_common.php
index 5ab89c801..abb1f3839 100644
--- a/include/lib/user_common.php
+++ b/include/lib/user_common.php
@@ -223,10 +223,10 @@ function check_parameter($p_array,$p_needed)
function clean_filename($p_filename)
{
$filename=$p_filename;
- foreach (array('/','*','<','>',';',',','\\',':','(',')',' ','[',']','.')
as $i) {
+ foreach (array('/','*','<','>',';',',','\\',':','(',')',' ','[',']') as
$i) {
$filename= str_replace($i, "-",$filename);
}
return $filename;
}
-?>
\ No newline at end of file
+?>
- [Noalyss-commit] [noalyss] branch master updated (cbc0d3fb7 -> 1cb2e43b3), Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 09/14: Fix bug : clean_filename removed the dot (extension),
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/14: Tache 0001743: Une couleur par dossier , ajout title boite dialogue, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 02/14: Tache 0001743: Une couleur par dossier, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 07/14: Fix bug in test me function, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 06/14: Tache 0001743 : couleur sont dans un menu séparé, amélioration de l'ergonomie + test phpunit, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 04/14: Task #0002164: Renommage de ces pièces pour faire le lien entre la pièce et l'opération, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 08/14: Code cleaning, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 05/14: Tache 0001743: couleur , correction ligne paire, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 11/14: Estetic : progress bar color, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 01/14: Task #0002182: Bouton fiche avec nouvelle icone + possibilité d'ajouter des fiches, Dany De Bontridder, 2022/08/22
- [Noalyss-commit] [noalyss] 13/14: Tache #0001743 : rephrase, Dany De Bontridder, 2022/08/22