Skip to content
Snippets Groups Projects
Commit 0f2b53b3 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix orm crash in list class

parent 77414bba
No related branches found
No related tags found
No related merge requests found
...@@ -195,7 +195,7 @@ class DynamicList extends VerySimpleModel implements CustomList { ...@@ -195,7 +195,7 @@ class DynamicList extends VerySimpleModel implements CustomList {
if ($name = $this->getLocal('name_plural')) if ($name = $this->getLocal('name_plural'))
return $name; return $name;
else else
return $this->getName . 's'; return $this->getName() . 's';
} }
function getItemCount() { function getItemCount() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment