From c8362a20f6cef660d1cdb471686e432e136c914e Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Thu, 12 Mar 2009 16:12:44 +0000 Subject: [PATCH] Fix copy-pasto (needs to return proper CE). --- ext/pdo/pdo_stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 227314493b..0c97aa0878 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -2767,7 +2767,7 @@ static union _zend_function *row_get_ctor(zval *object TSRMLS_DC) static zend_class_entry *row_get_ce(const zval *object TSRMLS_DC) { - return pdo_dbstmt_ce; + return pdo_row_ce; } static int row_get_classname(const zval *object, zstr *class_name, zend_uint *class_name_len, int parent TSRMLS_DC) -- 2.40.0