]> granicus.if.org Git - php/commitdiff
Fix bug #28878: php.ini values in php5_execute
authorUwe Schindler <thetaphi@php.net>
Tue, 22 Jun 2004 15:37:40 +0000 (15:37 +0000)
committerUwe Schindler <thetaphi@php.net>
Tue, 22 Jun 2004 15:37:40 +0000 (15:37 +0000)
sapi/nsapi/nsapi.c

index 1855412262d1ccb8f8834608ab26987ebe63a1f7..69e4fe5dda81c0499f8e7783d810494bdbad0348 100644 (file)
@@ -770,7 +770,7 @@ static void nsapi_php_ini_entries(NSLS_D TSRMLS_DC)
                        /* exclude standard entries given to "Service" which should not go into ini entries */
                        ok=1;
                        for (j=0; nsapi_exclude_from_ini_entries[j]; j++) {
-                               ok&=(!strcasecmp(entry->param->name, nsapi_exclude_from_ini_entries[j]));
+                               ok&=(strcasecmp(entry->param->name, nsapi_exclude_from_ini_entries[j])!=0);
                        }
 
                        if (ok) {