]> granicus.if.org Git - php/commitdiff
MFH
authorAndrei Zmievski <andrei@php.net>
Thu, 12 Mar 2009 16:13:17 +0000 (16:13 +0000)
committerAndrei Zmievski <andrei@php.net>
Thu, 12 Mar 2009 16:13:17 +0000 (16:13 +0000)
ext/pdo/pdo_stmt.c

index 13b42096ee46341315eb0332b89ba5fbd9397c29..74587af9b21e764d89ef0ad8cc0870d46800122c 100755 (executable)
@@ -2745,7 +2745,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, char **class_name, zend_uint *class_name_len, int parent TSRMLS_DC)