Home » Networking » Net_Whois » Bug #1301
Not "optimized" in a call to PEAR_ERROR
Details
| Submitted | 2004-04-27 23:27 UTC |
|---|---|
| From | guillaume at desclaux dot net |
| Assigned | svenasse |
| Status | Closed |
| Package | Net_Whois |
| PHP Version | 4.3.2 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-04-27 23:27 UTC] guillaume at desclaux dot net
Description:
------------
The lines 222, 225, 229 and 235 should also provide an error code and not only an error message... Use this :
return new PEAR_Error($this->_errorCodes[010], 10);
More over : the documentation says that Net/Whois does not use PEAR Error objet... but in fact it did !