where was a bug in dbo adodb driver (dbo_adodb.php)

problem was in :

        function fields(&$model, $alias, $fields) { ... }

to fix you need to add arguments types in function:
        function fields(&$model,  $alias = null, $fields = array()) { ... }

and in the start of functio add these lines:

                if (empty($alias)) {
                        $alias = $model->name;
                }

                $fields = parent::fields($model, $alias, $fields, false);


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to