Adding fix for #2959, Missing arguments for DboAdodb::fields()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5453 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-07-24 12:49:58 +00:00
parent 42c5cb3a16
commit bdaca1698b

View file

@ -331,7 +331,7 @@ class DboAdodb extends DboSource {
* @param mixed $fields * @param mixed $fields
* @return array * @return array
*/ */
function fields(&$model, $alias, $fields) { function fields(&$model, $alias = null, $fields = array(), $quote = true) {
if (empty($alias)) { if (empty($alias)) {
$alias = $model->name; $alias = $model->name;
} }