yiisoft/yii — pull request #1412 by resurtm (2012-09-16 06:52:35+00:00)
Title: Fixes #1407: CDbCommandBuilder::createCountCommand() used to bind parameters for unused ORDER clause and unused SELECT part.

Fixes #1407: CDbCommandBuilder::createCountCommand() used to bind parameters for unused ORDER clause and unused SELECT part.