From 5a80b534626b60f88f2992f5141a671106a1c03b Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Thu, 30 Jul 2015 12:04:43 -0500 Subject: [PATCH] oops: Fix crash rendering closed ticket Fixes #2328 --- 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 b52c4f721..c512e796d 100644 --- a/include/class.list.php +++ b/include/class.list.php @@ -1458,7 +1458,7 @@ implements CustomListItem, TemplateVariable { return parent::create($ht); } - static function lookup($var, $list= false) { + static function lookup($var, $list=null) { if (!($item = parent::lookup($var))) return null; -- GitLab