Incorrect handling of PclZip's errors
|Reported by:||dd32||Owned by:|
PclZip::extract() returns an array or 0 on failure, the latest docs avaialable here: http://www.phpconcept.net/pclzip/user-guide/55 spell that out clearly.
Currently in core we check for (bool)false only, resulting in a few PHP Notices and unneeded processing of some code.
Solution here is to change it to !is_array(), as anything other than an array is going to be a failure.