From a85edf061e8e2fe3d0ab6dde10e4ad518f9d2113 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Wed, 15 Jul 2015 16:53:51 +0200 Subject: [PATCH] Fixed the format of the decimal and the thousands marker for the numeric fields --- pandora_console/include/db/oracle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/db/oracle.php b/pandora_console/include/db/oracle.php index 1f73131ad2..745daa7a67 100644 --- a/pandora_console/include/db/oracle.php +++ b/pandora_console/include/db/oracle.php @@ -43,7 +43,7 @@ function oracle_connect_db($host = null, $db = null, $user = null, $pass = null, $datetime_tz_format = oci_parse($connect_id , 'alter session set NLS_TIMESTAMP_TZ_FORMAT =\'YYYY-MM-DD HH24:MI:SS\''); $datetime_format = oci_parse($connect_id , 'alter session set NLS_TIMESTAMP_FORMAT =\'YYYY-MM-DD HH24:MI:SS\''); $date_format = oci_parse($connect_id , 'alter session set NLS_DATE_FORMAT =\'YYYY-MM-DD HH24:MI:SS\''); - $decimal_separator = oci_parse($connect_id , 'alter session set NLS_NUMERIC_CHARACTERS =\',.\''); + $decimal_separator = oci_parse($connect_id , 'alter session set NLS_NUMERIC_CHARACTERS =\'.,\''); oci_execute($datetime_tz_format); oci_execute($datetime_format);