From 87dc3c4ddd52f001b03e2330aa14f8505caeabfd Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 9 Sep 2019 19:15:25 +0200 Subject: [PATCH] #0001736: PHP7 comptability --- include/class/anc_group_operation.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/class/anc_group_operation.class.php b/include/class/anc_group_operation.class.php index 05f519981..c5e45061d 100644 --- a/include/class/anc_group_operation.class.php +++ b/include/class/anc_group_operation.class.php @@ -114,6 +114,7 @@ class Anc_Group_Operation $wDescription->input().""; $Plan=new Anc_Plan($this->db); $aPlan=$Plan->get_list(); + $this->a_operation=(empty($this->a_operation))?[]:$this->a_operation; $max=(count($this->a_operation)<$this->nMaxRow)?$this->nMaxRow:count($this->a_operation); $ret.=''; /* show 10 rows */