From: Felipe Pena Date: Fri, 1 May 2009 03:02:32 +0000 (+0000) Subject: - Fixed bug #48038 (odbc_execute changes variables used to form params array) X-Git-Tag: php-5.4.0alpha1~191^2~3793 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae8c59376916c8f53d03a5113bd3b1beedb6b8ad;p=php - Fixed bug #48038 (odbc_execute changes variables used to form params array) --- 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);