Commit cf2d326a authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Meilleure gestion des float (pb du . et ,)

parent e89fb4fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ class Bdd
            $error = oci_error();
            throw $this->sendException($error);
        }
        $this->exec('ALTER SESSION SET NLS_NUMERIC_CHARACTERS=". "');

        return $this;
    }
@@ -149,7 +150,7 @@ class Bdd
    public function getCurrentSchema(): string
    {
        if (!$this->currentSchema) {
            $sql                 = "SELECT user scname FROM dual";
            $sql                 = "SELECT user SCNAME FROM DUAL";
            $this->currentSchema = $this->select($sql)[0]['SCNAME'];
        }