[dev] registry.php - better handling of some boolean value

steve mailling at gmx.co.uk
Fri Dec 26 03:55:06 PST 2003


About lib/registry.php, it seems that for PHP 4.3.2 for Windows, the 
$return value doesn't work correctly if there is an error in the include 
file. Here is a workaround that makes the code a little bit cleaner:
742c752,753
<                 if (!$success) {
---
 >                 }
 >                 if ($success === false) {
765c776
<                 if (!$success) {
---
 >                 if ($success === false) {
821d831
< 



More information about the dev mailing list