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; }