Skip to content

Commit

Permalink
Merge pull request #161 from whiterv/patch-1
Browse files Browse the repository at this point in the history
Should be updating $this->_keywords.
  • Loading branch information
guilhermeblanco committed Jun 7, 2012
2 parents d46cc59 + 2c88ffb commit 2cac730
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
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 2cac730

Please sign in to comment.