Commit 1e5c0d67 authored by zYne's avatar zYne

fixes #333

parent b1a78756
......@@ -76,7 +76,7 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection
*/
public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS')
{
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT "'.$format.'";');
$this->exec('ALTER SESSION SET NLS_DATE_FORMAT = "' . $format . '"');
}
/**
* Adds an driver-specific LIMIT clause to the query
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment