Browse Source

Tweak last commit, should always return NULL when an entry doesn't exist.

PECL
Scott MacVicar 18 years ago
parent
commit
3bab7c18ac
  1. 8
      Zend/zend_ini.c

8
Zend/zend_ini.c

@ -382,12 +382,12 @@ ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_b
} else {
return ini_entry->value;
}
} else if (exists) {
*exists = 0;
} else {
if (exists) {
*exists = 0;
}
return NULL;
}
return "";
}
/* }}} */

Loading…
Cancel
Save