mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
42c5cb3a16
commit
bdaca1698b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue