From: Kalle Sommer Nielsen Date: Sat, 25 Jul 2009 23:39:21 +0000 (+0000) Subject: MFB: Fixed bug #48189 (ibase_execute error in return param) X-Git-Tag: php-5.4.0alpha1~191^2~2977 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae087c341f3fd247d01da12379c7059924705a41;p=php MFB: Fixed bug #48189 (ibase_execute error in return param) --- diff --git a/ext/interbase/ibase_query.c b/ext/interbase/ibase_query.c index f9242e7bcc..657ed580dd 100644 --- a/ext/interbase/ibase_query.c +++ b/ext/interbase/ibase_query.c @@ -1029,8 +1029,7 @@ static int _php_ibase_exec(INTERNAL_FUNCTION_PARAMETERS, ibase_result **ib_resul if (affected_rows) { RETVAL_LONG(affected_rows); } else { - /* this return value evaluates to bool(true) and to int(0) */ - RETVAL_STRINGL("0 ",2,1); + RETVAL_TRUE; } break; }