summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-02-16 10:34:45 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-02-16 10:34:45 +0100
commit827a92a6965612b185ae2e6766b6fb7740cd0cc2 (patch)
tree697f1fd0829ff827b8e5666c928102deb32e5814 /system/helpers
parentb8b520212559316ee9f9977ba3b1e7f1f945d27f (diff)
parentc357f5ecb0794fc59802ab7a9779453ee2b003c7 (diff)
Merge pull request #934 from wilburhimself/develop
Fixed error in inflector_helper.php in the singular function.
Diffstat (limited to 'system/helpers')
-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);
}
}