mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 07:52:16 +00:00
use additional result variable
This commit is contained in:
@@ -81,7 +81,8 @@ class LvPlan extends FHCAPI_Controller
|
||||
$end_date = $this->input->get('end_date', TRUE);
|
||||
$lv_id = $this->input->get('lv_id', TRUE);
|
||||
|
||||
$lvplan_events = $this->getDataOrTerminateWithError($this->lvplanlib->getLvPlan($start_date,$end_date,$lv_id));
|
||||
$res_lvplan_events = $this->lvplanlib->getLvPlan($start_date,$end_date,$lv_id);
|
||||
$lvplan_events = $this->getDataOrTerminateWithError($res_lvplan_events);
|
||||
if( is_null($lvplan_events) || isEmptyArray($lvplan_events) )
|
||||
{
|
||||
$lvplan_events = array();
|
||||
|
||||
Reference in New Issue
Block a user