summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/helpers/inflector_helper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php
index 83bf28098..f14f57c54 100644
--- a/system/helpers/inflector_helper.php
+++ b/system/helpers/inflector_helper.php
@@ -268,7 +268,7 @@ if ( ! function_exists('is_countable'))
'species',
'swine',
'traffic',
- 'wheat',
+ 'wheat'
)
);
}
@@ -303,12 +303,12 @@ if ( ! function_exists('ordinal_format'))
8 => 'th',
9 => 'th'
);
-
+
if (($number % 100) >= 11 && ($number % 100) <= 13)
{
return $number.'th';
}
-
+
return $number.$last_digit[$number % 10];
}
}