Changed options to be an array()

This commit is contained in:
Deon George 2016-08-02 15:40:23 +10:00
parent 01f6c7ba5e
commit 4bbf00a3d1
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ abstract class lnApp_Model_Account extends Model_Auth_UserDefault {
/**
* Search for accounts matching a term
*/
public function list_autocomplete($term,$index,$value,array $label,array $limit=array(),array $options=NULL) {
public function list_autocomplete($term,$index,$value,array $label,array $limit=array(),array $options=array()) {
if (! isset($options['parentbypass'])) {
$ao = Auth::instance()->get_user();

View File

@ -227,7 +227,7 @@ abstract class lnApp_ORM extends Kohana_ORM {
/**
* This function is our AJAX helper, used by module list_autocomplete()
*/
public function list_autocomplete($term,$index,$value,array $label,array $limit=array(),array $options=NULL) {
public function list_autocomplete($term,$index,$value,array $label,array $limit=array(),array $options=array()) {
$result = array();
$query = empty($options['object']) ? $this : $options['object'];