]> granicus.if.org Git - php/commitdiff
Fix copy-pasto (needs to return proper CE).
authorAndrei Zmievski <andrei@php.net>
Thu, 12 Mar 2009 16:12:44 +0000 (16:12 +0000)
committerAndrei Zmievski <andrei@php.net>
Thu, 12 Mar 2009 16:12:44 +0000 (16:12 +0000)
ext/pdo/pdo_stmt.c

index 227314493bbeb9cd2e4a8157b9aa9983a8c14529..0c97aa0878be2d3ec9b76cd3971b1bff1131e051 100755 (executable)
@@ -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)