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

index bc2f82a90ae1204f435ae5d5982cd1362d50c112..8604b1676646d750d88fa2e826979129417d050f 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) {