Yii 1.1: zdbconnection

This connection fix a bug in active record
1 follower

This extension is a fix for a know bug in activrecord.

If you make a query with grouBy and Having, the count doesn't use having and so return a wrong result.

Using this extension you will get the correct result.

How to use it ΒΆ

Download end extract the file in controllers, then configure the config main as follows:

'db'=>array(
    'class'=>'ZDbConnection',

Total 1 comment

#3104 report it
zaccaria at 2011/03/16 11:24am
fixed

As soon as I created the extension I noticed that in revision 3092 this bug has fixed.

Anyway can be useful to anyone is using Yii 1.1.5 or previous.

Thank to the developer for fixing it!

Leave a comment

Please to leave your comment.

Create extension