From db63c9e29182a399cd7bfc84dfe69d2f1308d4c8 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Fri, 22 Feb 2002 19:03:11 +0000 Subject: [PATCH] Return true on update success. --- ext/fbsql/php_fbsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index abf4bc36bbc..4d5ceef76aa 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -1858,7 +1858,7 @@ static void phpfbQuery(INTERNAL_FUNCTION_PARAMETERS, char* sql, PHPFBLink* link) } ZEND_REGISTER_RESOURCE(return_value, result, le_result); } - else if (tp[0] == 'I' || tp[0] == 'I') + else if (tp[0] == 'I' || tp[0] == 'U') { if (tp[0] == 'I') link->insert_id = fbcmdRowIndex(md); if (sR == 1 && md) fbcmdRelease(md);