From: Felipe Pena Date: Fri, 1 May 2009 03:02:46 +0000 (+0000) Subject: - MFH: Fixed bug #48038 (odbc_execute changes variables used to form params array) X-Git-Tag: php-5.3.0RC2~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b049552d08b27743848e931e71318e81996627d;p=php - MFH: 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 94a4e596a1..dc349bf413 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);