summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/number_helper.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/helpers/number_helper.php b/system/helpers/number_helper.php
index af8b70f86..20e262e66 100644
--- a/system/helpers/number_helper.php
+++ b/system/helpers/number_helper.php
@@ -120,8 +120,9 @@ if ( ! function_exists('ordinal_format'))
6 => 'th',
7 => 'th',
8 => 'th',
- 9 => 'th');
- if ((($number % 100) >= 11) && (($number % 100) <= 13))
+ 9 => 'th'
+ );
+ if (($number % 100) >= 11 && ($number % 100) <= 13)
{
return $number.'th';
}