diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-01-11 14:52:09 +0100 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-01-11 14:52:09 +0100 |
commit | 7b3be2fbcf62791918be5fe6d5c42eb005eb7342 (patch) | |
tree | c28a90e0a29385dd08b27569d0e13cbb2732924e /system | |
parent | dac1b468d5432ff9166fe221ac520b5050a65f0e (diff) |
Changed || to OR to match coding standards
Diffstat (limited to 'system')
-rw-r--r-- | system/helpers/inflector_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php index 3d9acfcf0..88f48d48e 100644 --- a/system/helpers/inflector_helper.php +++ b/system/helpers/inflector_helper.php @@ -93,7 +93,7 @@ if ( ! function_exists('plural')) } elseif ($end == 'h') { - if (substr($str, -2) == 'ch' || substr($str, -2) == 'sh') + if (substr($str, -2) == 'ch' OR substr($str, -2) == 'sh') { $str .= 'es'; } |