diff --git a/core/trunk/core/class/class_functions.php b/core/trunk/core/class/class_functions.php index b37e8ed705bec1d30967c0cb51c2594ee8325b22..815fa9e9928da73932af7243be6ba579e533c506 100644 --- a/core/trunk/core/class/class_functions.php +++ b/core/trunk/core/class/class_functions.php @@ -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;