From b126ccf8c3430d6babb3d85f23e7a3a01068d837 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 28 Feb 2012 20:24:37 +0000 Subject: [PATCH] Initialize accessory list array --- resources/inc/class.resources_bo.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/inc/class.resources_bo.inc.php b/resources/inc/class.resources_bo.inc.php index 5d016d54dc..51720bc0d3 100755 --- a/resources/inc/class.resources_bo.inc.php +++ b/resources/inc/class.resources_bo.inc.php @@ -311,6 +311,7 @@ class resources_bo { if($res_id < 1){return;} $data = $this->so->search('','res_id,name','','','','','',$start,array('accessory_of' => $res_id),'',$need_full_no_count=true); + $acc_list = array(); foreach($data as $num => $resource) { $acc_list[$resource['res_id']] = $resource['name'];