yiisoft/yii — pull request #2230 by ivokund (2013-03-20 15:09:45+00:00)
Title: Fix for #2201 - Cannot use "having" in a CDbCriteria to count AR model values (results in SQL error)

Adds the missing `params` array from the `query` object.