summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-05-09 08:40:49 +0200
committerGitHub <noreply@github.com>2017-05-09 08:40:49 +0200
commit79a50e61b3257eea757ead7e1951fd463faea495 (patch)
tree9a4db21e69e94619c20587934a770abdba4ccc81 /system
parentc06bc67d6c4059b3d1050221d5b1624ac4e2f1f8 (diff)
parent583e9a073c3c91b6938644a1eaf5393466047cdf (diff)
Merge pull request #5108 from ft23/patch-1
quizzes singular doesn't work
Diffstat (limited to 'system')
-rw-r--r--system/helpers/inflector_helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php
index 49e2a53db..9e3cc38bc 100644
--- a/system/helpers/inflector_helper.php
+++ b/system/helpers/inflector_helper.php
@@ -95,6 +95,7 @@ if ( ! function_exists('singular'))
'/(s)tatuses$/' => '\1\2tatus',
'/(c)hildren$/' => '\1\2hild',
'/(n)ews$/' => '\1\2ews',
+ '/(quiz)zes$/' => '\1',
'/([^us])s$/' => '\1'
);