Permalink
Browse files

reversed bool value in isEmpty method

  • Loading branch information...
trumtomte committed Apr 25, 2012
1 parent 6bd0f36 commit a9925daee4f28b01c01aba52d7a819d5898d03db
Showing with 1 addition and 1 deletion.
  1. +1 −1 cloudlib/helpers/Uploader.php
@@ -123,7 +123,7 @@ public function isEmpty()
return (bool) in_array(4, $this->files['error']);
}
- return (bool) ($this->files['error'] !== 4);
+ return ($this->files['error'] !== 4) ? false : true;
}
/**

0 comments on commit a9925da

Please sign in to comment.