diff --git a/ezdb/dbms-drivers/ezoracledb.php b/ezdb/dbms-drivers/ezoracledb.php index 66d5cb0..8c35a10 100644 --- a/ezdb/dbms-drivers/ezoracledb.php +++ b/ezdb/dbms-drivers/ezoracledb.php @@ -144,6 +144,8 @@ function eZOracleDB( $parameters ) else { $this->IsConnected = true; + // make sure the decimal separator is the dot + $this->query( "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='. '" ); } if ( $this->DBConnection === false ) @@ -1330,4 +1332,4 @@ static function arrayChangeKeys(&$value, $key, $params ) ); } -?> \ No newline at end of file +?>