yiisoft/yii — pull request #2942 by softark (2013-10-09 10:06:43+00:00)
Title: CDbCriteria::mergeWith fix

When $criteri->limit is 0, it won't be merged in the current implementation. But it should be merged.

http://www.yiiframework.com/forum/index.php/topic/47784-overriden-limit-condition-in-scopes