diff options
author | Felipe Pena <felipe@php.net> | 2009-05-01 03:02:32 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2009-05-01 03:02:32 +0000 |
commit | ae8c59376916c8f53d03a5113bd3b1beedb6b8ad (patch) | |
tree | 94a3475e01f8983dbc0e8dd654f742f5c2e4e043 /ext/odbc | |
parent | 0382e8ff3621b7c3b03a6f7b0a53ab2d615e5318 (diff) | |
download | php-git-ae8c59376916c8f53d03a5113bd3b1beedb6b8ad.tar.gz |
- Fixed bug #48038 (odbc_execute changes variables used to form params array)
Diffstat (limited to 'ext/odbc')
-rw-r--r-- | ext/odbc/php_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |