Fixing parse error in PHP4 caused by optional arguments with default

values being passed by reference. Fixes #180
This commit is contained in:
Mark Story 2010-01-11 09:40:45 -05:00
parent 0959de6031
commit 896414e632

View file

@ -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);
}