Home » Validate » Validate » Bug #8442
Undefined variable "return"
Details
| Submitted | 2006-08-15 04:35 UTC |
|---|---|
| From | soporte at onfocus dot cl |
| Assigned | amir |
| Status | Closed |
| Package | Validate |
| PHP Version | 5.2.0 RC1 |
| OS | Irrelevant |
| Roadmaps | 0.8.0 |
Comments
[2006-08-15 04:35 UTC] soporte at onfocus dot cl
Description:
------------
Validate.php throws a notice about return not being defined in some situations.
Test script:
---------------
patch :
define $return as an empty string in function __stringToUtf7() before use.
Expected result:
----------------
no notice
Actual result:
--------------
Notice : undefined variable return
[2006-08-15 05:41 UTC] amir at php dot net
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Thanks