diff options
Diffstat (limited to 'ext/pdo_firebird/firebird_statement.c')
-rw-r--r-- | ext/pdo_firebird/firebird_statement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c index 685b9d62ea..105d5a3587 100644 --- a/ext/pdo_firebird/firebird_statement.c +++ b/ext/pdo_firebird/firebird_statement.c @@ -625,7 +625,7 @@ static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_dat { zend_long lval; double dval; - + if ((Z_STRLEN_P(parameter) == 0)) { *(FB_BOOLEAN*)var->sqldata = FB_FALSE; break; @@ -663,7 +663,7 @@ static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_dat break; } #endif - + /* check if a NULL should be inserted */ switch (Z_TYPE_P(parameter)) { |