From 1e5c0d674c6ef8146b46f9bbb58ae2a45ca1d197 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 24 May 2007 22:08:54 +0000 Subject: [PATCH] fixes #333 --- lib/Doctrine/Connection/Oracle.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Doctrine/Connection/Oracle.php b/lib/Doctrine/Connection/Oracle.php index 0a47b7719..986a5bc03 100644 --- a/lib/Doctrine/Connection/Oracle.php +++ b/lib/Doctrine/Connection/Oracle.php @@ -69,14 +69,14 @@ class Doctrine_Connection_Oracle extends Doctrine_Connection $this->options['result_prefetching'] = false; */ parent::__construct($manager, $adapter); - } + } /** * Sets up the date/time format - * + * */ - public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS') - { - $this->exec('ALTER SESSION SET NLS_DATE_FORMAT "'.$format.'";'); + public function setDateFormat($format = 'YYYY-MM-DD HH24:MI:SS') + { + $this->exec('ALTER SESSION SET NLS_DATE_FORMAT = "' . $format . '"'); } /** * Adds an driver-specific LIMIT clause to the query