Skip to content

Commit

Permalink
Should be updating $this->_keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuan Xie committed Jun 7, 2012
1 parent d46cc59 commit 2c88ffb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Expand Up @@ -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();
Expand All @@ -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;
}
Expand Down

0 comments on commit 2c88ffb

Please sign in to comment.