mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing parse error in PHP4 caused by optional arguments with default
values being passed by reference. Fixes #180
This commit is contained in:
parent
0959de6031
commit
896414e632
1 changed files with 1 additions and 1 deletions
|
@ -2258,7 +2258,7 @@ class DboSource extends DataSource {
|
|||
* @return string ORDER BY clause
|
||||
* @access public
|
||||
*/
|
||||
function order($keys, $direction = 'ASC', &$model = null) {
|
||||
function order($keys, $direction = 'ASC', $model = null) {
|
||||
if (!is_array($keys)) {
|
||||
$keys = array($keys);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue