From 0f2b53b333ebfb0be5502a30228ffbb9feca65b8 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 27 Feb 2015 17:24:40 -0600
Subject: [PATCH] oops: Fix orm crash in list class

---
 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 5f4ce5aea..782bfebaf 100644
--- a/include/class.list.php
+++ b/include/class.list.php
@@ -195,7 +195,7 @@ class DynamicList extends VerySimpleModel implements CustomList {
         if ($name = $this->getLocal('name_plural'))
             return $name;
         else
-            return $this->getName . 's';
+            return $this->getName() . 's';
     }
 
     function getItemCount() {
-- 
GitLab