changeset 35:21132c7b6aaa

Only 1 is singular.
author edogawaconan <me@myconan.net>
date Thu, 13 Nov 2014 15:46:42 +0900
parents f761177dc1d4
children 9a2e0b2a2d1d
files index.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Tue Nov 04 10:55:32 2014 +0900
+++ b/index.php	Thu Nov 13 15:46:42 2014 +0900
@@ -49,7 +49,7 @@
 
     $return_format = "%d %s";
 
-    if ($size <= 1) {
+    if ($size === 1) {
       $return_unit = "octet";
     } elseif ($size < 1000) {
       $return_unit = "octets";