Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 31, 2017
1 parent a9aaaec commit 5cfe8b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ActiveQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ public function createCommand($db = null)
$this->from = $modelClass::tableName();
}

$commandConfig = $db->getQueryBuilder()->build($this);

return $db->createCommand($commandConfig);
return parent::createCommand($db);
}

/**
Expand Down

0 comments on commit 5cfe8b6

Please sign in to comment.