Browse Source

codestyle fix

tags/2.0.0-beta
Mark 11 years ago
parent
commit
16801b9b3e
  1. 3
      framework/yii/db/pgsql/QueryBuilder.php

3
framework/yii/db/pgsql/QueryBuilder.php

@ -78,8 +78,9 @@ class QueryBuilder extends \yii\db\QueryBuilder
if ($table !== null && $table->sequenceName !== null) {
$sequence='"'.$table->sequenceName.'"';
if(strpos($sequence,'.')!==false)
if (strpos($sequence,'.')!==false) {
$sequence=str_replace('.','"."',$sequence);
}
$tableName = $this->db->quoteTableName($tableName);
if ($value === null) {

Loading…
Cancel
Save