1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

fix typo in ODBC code

This commit is contained in:
Stanislav Malyshev
2014-05-18 23:42:30 -07:00
parent 8a22540a95
commit adc070ca99
+1 -1
View File
@@ -1317,7 +1317,7 @@ PHP_FUNCTION(odbc_execute)
if (Z_STRLEN_PP(tmp) > 2 &&
Z_STRVAL_PP(tmp)[0] == '\'' &&
Z_STRVAL_PP(tmp)[Z_STRLEN_PP(tmp) - 1] == '\'') {
if (strlen(tmp) != Z_STRLEN_PP(tmp)) {
if (strlen(Z_STRVAL_PP(tmp)) != Z_STRLEN_PP(tmp)) {
RETURN_FALSE;
}