From ae8c59376916c8f53d03a5113bd3b1beedb6b8ad Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 1 May 2009 03:02:32 +0000 Subject: [PATCH] - Fixed bug #48038 (odbc_execute changes variables used to form params array) --- ext/odbc/php_odbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index b3ffd23638..eafa548386 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -1274,7 +1274,7 @@ PHP_FUNCTION(odbc_execute) } otype = (*tmp)->type; - convert_to_string(*tmp); + convert_to_string_ex(tmp); if (Z_TYPE_PP(tmp) != IS_STRING) { php_error_docref(NULL TSRMLS_CC, E_WARNING,"Error converting parameter"); SQLFreeStmt(result->stmt, SQL_RESET_PARAMS); -- 2.50.1