Home » HTTP » HTTP_Upload » Bug #837
double check not necessary
Details
| Submitted | 2004-02-23 01:56 UTC |
|---|---|
| From | maka3d at yahoo dot com dot br |
| Assigned | antonio |
| Status | Closed |
| Package | HTTP_Upload |
| PHP Version | 4.3.4 |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-02-23 01:56 UTC] maka3d at yahoo dot com dot br
Description:
------------
at line 350 the double check is not needed.
change:
if (empty($this->post_files) || count($this->post_files) < 1) {
to
if (count($this->post_files) < 1) {
[2004-05-28 18:38 UTC] maka3d at yahoo dot com dot br
count($this->post_files) return 0 if $this->post_files is NULL. That's why the first check is unecessary. :)