From 2e84fcb0b00d5d554f06fc595fc377e02d364d5c Mon Sep 17 00:00:00 2001 From: Zhandos Date: Mon, 10 Mar 2014 23:17:29 +0500 Subject: [PATCH] Update FileValidator.php fix tabs --- framework/validators/FileValidator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/validators/FileValidator.php b/framework/validators/FileValidator.php index 6b0e139559..bf56538916 100644 --- a/framework/validators/FileValidator.php +++ b/framework/validators/FileValidator.php @@ -229,9 +229,9 @@ class FileValidator extends Validator */ public function isEmpty($value, $trim = false) { - $value = is_array($value) && !empty($value) ? $value[0] : $value; + $value = is_array($value) && !empty($value) ? $value[0] : $value; - return !$value instanceof UploadedFile || $value->error == UPLOAD_ERR_NO_FILE; + return !$value instanceof UploadedFile || $value->error == UPLOAD_ERR_NO_FILE; } /**