Skip to content
Snippets Groups Projects
Commit 70d2c518 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #2241 correction comparaison booléen

parent a99388ac
No related branches found
No related tags found
No related merge requests found
......@@ -900,7 +900,7 @@ class functions
return '';
} else {
if ($databasetype == "SQLSERVER") {
if ($withTimeZone=true) {
if ($withTimeZone) {
return $day . "-" . $month . "-" . $year . "   " . $hours;
}else{
return $day . "-" . $month . "-" . $year;
......@@ -908,13 +908,13 @@ class functions
} else if ($databasetype == "POSTGRESQL") {
if ($_SESSION['config']['lang'] == "fr") {
if ($withTimeZone = true) {
if ($withTimeZone) {
return $day . "-" . $month . "-" . $year . "   " . $hours;
}else{
return $day . "-" . $month . "-" . $year;
}
} else {
if ($withTimeZone=true) {
if ($withTimeZone) {
return $year . "-" . $month . "-" . $day . "   " . $hours;
}else{
return $year . "-" . $month . "-" . $day;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment