From: Andrei Zmievski Date: Thu, 12 Mar 2009 16:12:44 +0000 (+0000) Subject: Fix copy-pasto (needs to return proper CE). X-Git-Tag: php-5.4.0alpha1~191^2~4162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8362a20f6cef660d1cdb471686e432e136c914e;p=php Fix copy-pasto (needs to return proper CE). --- 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)