commit | 7b3be2fbcf62791918be5fe6d5c42eb005eb7342 | [log] [tgz] |
---|---|---|
author | Eric Barnes <eric@ericlbarnes.com> | Tue Jan 11 08:52:09 2011 -0500 |
committer | Eric Barnes <eric@ericlbarnes.com> | Tue Jan 11 08:52:09 2011 -0500 |
tree | c28a90e0a29385dd08b27569d0e13cbb2732924e | |
parent | dac1b468d5432ff9166fe221ac520b5050a65f0e [diff] |
Changed || to OR to match coding standards
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php index 3d9acfc..88f48d4 100644 --- a/system/helpers/inflector_helper.php +++ b/system/helpers/inflector_helper.php
@@ -93,7 +93,7 @@ } elseif ($end == 'h') { - if (substr($str, -2) == 'ch' || substr($str, -2) == 'sh') + if (substr($str, -2) == 'ch' OR substr($str, -2) == 'sh') { $str .= 'es'; }