summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorWilbur Suero <wilbur.himself@gmail.com>2012-01-17 05:17:35 +0100
committerWilbur Suero <wilbur.himself@gmail.com>2012-01-17 05:17:35 +0100
commitc357f5ecb0794fc59802ab7a9779453ee2b003c7 (patch)
tree5be1d2762a76a6b01542238cabfedfe6116f1ee2 /system
parentfc514ca3578c59753e059fd6b8a2415424850535 (diff)
Fixed error in inflector_helper.php in the singular function.
The function was excepting $singluar_rules and got $singular_values.
Diffstat (limited to 'system')
-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);
}
}