From: Felipe Pena Date: Sun, 13 Mar 2011 14:57:19 +0000 (+0000) Subject: - Fix infile return on duplicated key (related to bug #54242) X-Git-Tag: php-5.4.0alpha1~191^2~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cedd0a7224f3815df69f2187bf468d16c4ec93e7;p=php - Fix infile return on duplicated key (related to bug #54242) --- diff --git a/ext/dba/dba_inifile.c b/ext/dba/dba_inifile.c index d018a01149..4103f50a66 100644 --- a/ext/dba/dba_inifile.c +++ b/ext/dba/dba_inifile.c @@ -102,7 +102,7 @@ DBA_UPDATE_FUNC(inifile) return SUCCESS; case 1: php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Key already exists"); - return SUCCESS; + return FAILURE; } }