From 0666083907bc8e7070b34d339bfe12c69e0cd9fe Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 12 Apr 1999 19:40:33 +0000 Subject: NULL's should remain NULLs (at least in strings) --- main/php_ini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_ini.c') diff --git a/main/php_ini.c b/main/php_ini.c index a8fe299249..406f5ac79b 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -222,7 +222,7 @@ char *php_ini_string(char *name, uint name_length, int orig) if (_php3_hash_find(&known_directives, name, name_length, (void **) &ini_entry)==SUCCESS) { if (orig && ini_entry->orig_value) { return ini_entry->orig_value; - } else if (ini_entry->value) { + } else { return ini_entry->value; } } -- cgit v1.2.1