summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-05-09 08:40:49 +0200
committerAndrey Andreev <narf@devilix.net>2017-05-09 08:45:06 +0200
commit8a0f4408da8d614a5e467d9d219f349a6ba75428 (patch)
tree6fb1b22ecdf15d3597604f3a782d7a6d81d4c6f9 /system/helpers
parentf8fba7bac1c69e619f504f9960133d9b0fecc34b (diff)
Merge pull request #5108 from ft23/patch-1
quizzes singular doesn't work
Diffstat (limited to 'system/helpers')
-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 26a5a5ca9..4a6805fbb 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'
);