summaryrefslogtreecommitdiffstats
path: root/system/helpers/inflector_helper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-02-16 10:46:12 +0100
committerAndrey Andreev <narf@bofh.bg>2012-02-16 10:46:12 +0100
commitaac5e91ead82146d9a5076d324355162c71e0383 (patch)
treef8aacb53814260b161bd5f39e0c292d6ec47aed3 /system/helpers/inflector_helper.php
parentcf63120a60da9485ab1f94bc58b5d62e6b05a0fd (diff)
parent827a92a6965612b185ae2e6766b6fb7740cd0cc2 (diff)
Merge upstream branch
Diffstat (limited to 'system/helpers/inflector_helper.php')
-rw-r--r--system/helpers/inflector_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php
index 0bd1e112f..2069a1927 100644
--- a/system/helpers/inflector_helper.php
+++ b/system/helpers/inflector_helper.php
@@ -85,7 +85,7 @@ if ( ! function_exists('singular'))
'/([^u])s$/' => '\1',
);
- return preg_replace(array_keys($singular_values), $singular_values, $result);
+ return preg_replace(array_keys($singular_rules), $singular_rules, $result);
}
}