Skip to content

Commit

Permalink
Fixed #19296: Float can be formatted with a comma or a dot depending …
Browse files Browse the repository at this point in the history
…territory/language
  • Loading branch information
dpobel committed Mar 29, 2012
1 parent 945f301 commit 3db4da0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ezdb/dbms-drivers/ezoracledb.php
Expand Up @@ -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 )
Expand Down Expand Up @@ -1330,4 +1332,4 @@ static function arrayChangeKeys(&$value, $key, $params )
);
}

?>
?>

0 comments on commit 3db4da0

Please sign in to comment.