From d235a2bf4aff1122345c6a920f15b8f167e0b701 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 22 Feb 2005 20:59:52 +0000 Subject: [PATCH] - Put this back in (forgot to revert) --- ext/pdo/pdo_dbh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 22dee929b8..34889a7cd3 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -836,7 +836,7 @@ static PHP_METHOD(PDO, query) ZVAL_NULL(&stmt->lazy_object_ref); if (dbh->methods->preparer(dbh, statement, statement_len, stmt, NULL TSRMLS_CC)) { - if (1) {//ZEND_NUM_ARGS() > 1 || SUCCESS == pdo_stmt_setup_fetch_mode(INTERNAL_FUNCTION_PARAM_PASSTHRU, stmt, 1)) { + if (ZEND_NUM_ARGS() > 1 || SUCCESS == pdo_stmt_setup_fetch_mode(INTERNAL_FUNCTION_PARAM_PASSTHRU, stmt, 1)) { PDO_STMT_CLEAR_ERR(); /* now execute the statement */ -- 2.50.1