Fixed bug #48189 (ibase_execute error in return param)

This commit is contained in:
Kalle Sommer Nielsen 2009-07-25 23:37:47 +00:00
parent bc8155d737
commit 310bfadf3c

View File

@ -1031,8 +1031,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;
}