summaryrefslogtreecommitdiffstats
path: root/system/helpers/number_helper.php
diff options
context:
space:
mode:
authorgxgpet <gxgpet@users.noreply.github.com>2016-10-20 11:31:44 +0200
committerGitHub <noreply@github.com>2016-10-20 11:31:44 +0200
commit7de46d4d99017b42ba172cebff8998163ee6295f (patch)
treec93dee557de742a53c277d4423c535bc12fc8e2d /system/helpers/number_helper.php
parent1ff88001bead0ff4187a5b121d9d36a25a45c313 (diff)
fixed coding style + removal of extra paranthesis
Diffstat (limited to 'system/helpers/number_helper.php')
-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';
}