From cedd0a7224f3815df69f2187bf468d16c4ec93e7 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 13 Mar 2011 14:57:19 +0000 Subject: [PATCH] - Fix infile return on duplicated key (related to bug #54242) --- ext/dba/dba_inifile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.40.0