Skip to content

Commit 68c1f39

Browse files
committed
Fix Firebird driver
1 parent dc13582 commit 68c1f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_firebird/firebird_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ static zend_string* firebird_handle_quoter(pdo_dbh_t *dbh, const zend_string *un
671671
*c++ = '\'';
672672

673673
/* foreach (chunk that ends in a quote) */
674-
for (l = unquoted; (r = strchr(l,'\'')); l = r+1) {
674+
for (l = ZSTR_VAL(unquoted); (r = strchr(l,'\'')); l = r+1) {
675675
strncpy(c, l, r-l+1);
676676
c += (r-l+1);
677677
/* add the second quote */

0 commit comments

Comments
 (0)