summaryrefslogtreecommitdiff
path: root/main/php_ini.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-12 19:40:33 +0000
committerZeev Suraski <zeev@php.net>1999-04-12 19:40:33 +0000
commit0666083907bc8e7070b34d339bfe12c69e0cd9fe (patch)
tree816e8bed1c398eb453ff68c850e957e41b6296c9 /main/php_ini.c
parent15be5f0b4a82d06f9c626fe05e42a9801a117c64 (diff)
downloadphp-git-0666083907bc8e7070b34d339bfe12c69e0cd9fe.tar.gz
NULL's should remain NULLs (at least in strings)
Diffstat (limited to 'main/php_ini.c')
-rw-r--r--main/php_ini.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}