From 4e66eabe78d479e9d735fd05ec2fca2b9e114f84 Mon Sep 17 00:00:00 2001
From: Marco Borla <PeopleInside@users.noreply.github.com>
Date: Sun, 13 May 2018 12:26:36 +0200
Subject: [PATCH] Update class.list.php

Some fix for PHP 7,2 https://github.com/osTicket/osTicket/issues/4237
---
 include/class.list.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.list.php b/include/class.list.php
index 69106502b..6f7fa3b03 100644
--- a/include/class.list.php
+++ b/include/class.list.php
@@ -522,7 +522,7 @@ class DynamicList extends VerySimpleModel implements CustomList {
         foreach (DynamicList::objects() as $list) {
             $selections['list-'.$list->id] =
                 array($list->getPluralName(),
-                    SelectionField, $list->get('id'));
+                    'SelectionField', $list->get('id'));
         }
         return $selections;
     }
-- 
GitLab