From 4b438b42046da92bced46214fbe3f05dbcdf4d39 Mon Sep 17 00:00:00 2001 From: MDW Date: Thu, 21 Mar 2024 22:26:56 +0100 Subject: [PATCH] Fix typing with idate --- htdocs/core/class/html.formother.class.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index 86f850f7cdf..aa6cf26e580 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -11,6 +11,7 @@ * Copyright (C) 2007 Patrick Raguin * Copyright (C) 2019 Thibault FOUCART * Copyright (C) 2024 Frédéric France + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1043,13 +1044,13 @@ class FormOther global $langs; $week = array( - 0=>$langs->trans("Day0"), - 1=>$langs->trans("Day1"), - 2=>$langs->trans("Day2"), - 3=>$langs->trans("Day3"), - 4=>$langs->trans("Day4"), - 5=>$langs->trans("Day5"), - 6=>$langs->trans("Day6") + 0 => $langs->trans("Day0"), + 1 => $langs->trans("Day1"), + 2 => $langs->trans("Day2"), + 3 => $langs->trans("Day3"), + 4 => $langs->trans("Day4"), + 5 => $langs->trans("Day5"), + 6 => $langs->trans("Day6") ); $select_week = '