From: Georg Richter Date: Thu, 2 Sep 2004 04:53:01 +0000 (+0000) Subject: fixed bug #29283 X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62ed6a0f2b645ecb34c76274482469f684422c11;p=php fixed bug #29283 --- diff --git a/ext/mysqli/php_mysqli.h b/ext/mysqli/php_mysqli.h index 7a29d8b6d3..dfd4f6cd4c 100644 --- a/ext/mysqli/php_mysqli.h +++ b/ext/mysqli/php_mysqli.h @@ -181,7 +181,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML } \ __ptr = (__type)my_res->ptr; \ if (!strcmp((char *)__name, "mysqli_stmt")) {\ - if (!((MYSQL_STMT *)__ptr)->mysql) {\ + if (!((MY_STMT *)__ptr)->stmt->mysql) {\ php_error(E_WARNING, "Statement isn't valid anymore");\ RETURN_NULL();\ }\