From 2c88ffb9c4db7f0b28fcc76b96e6dfae045b4d73 Mon Sep 17 00:00:00 2001 From: Yuan Xie Date: Thu, 7 Jun 2012 15:51:34 -0300 Subject: [PATCH] Should be updating $this->_keywords. --- lib/Doctrine/DBAL/Platforms/AbstractPlatform.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php index 6eed0c9293f..a72c7b22cb2 100644 --- a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php +++ b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php @@ -2690,8 +2690,8 @@ public function rollbackSavePoint($savepoint) final public function getReservedKeywordsList() { // Check for an existing instantiation of the keywords class. - if ($this->keywords) { - return $this->keywords; + if ($this->_keywords) { + return $this->_keywords; } $class = $this->getReservedKeywordsClass(); @@ -2701,7 +2701,7 @@ final public function getReservedKeywordsList() } // Store the instance so it doesn't need to be generated on every request. - $this->keywords = $keywords; + $this->_keywords = $keywords; return $keywords; }