diff options
-rwxr-xr-x | ext/pdo_odbc/odbc_stmt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_odbc/odbc_stmt.c b/ext/pdo_odbc/odbc_stmt.c index 14d27a5c71..60bddb4383 100755 --- a/ext/pdo_odbc/odbc_stmt.c +++ b/ext/pdo_odbc/odbc_stmt.c @@ -85,6 +85,7 @@ static int odbc_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC) if (Z_TYPE_P(param->parameter) != IS_RESOURCE) { /* they passed in a string */ + convert_to_string(param->parameter); SQLPutData(S->stmt, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter)); continue; } |