summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli.h
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-09-02 04:53:01 +0000
committerGeorg Richter <georg@php.net>2004-09-02 04:53:01 +0000
commit62ed6a0f2b645ecb34c76274482469f684422c11 (patch)
tree87f9449c201e717966cb74e5cfb444dfbfae8ab5 /ext/mysqli/php_mysqli.h
parent197d65770a27e62b3ecb6d11be4034893b3909e0 (diff)
downloadphp-git-62ed6a0f2b645ecb34c76274482469f684422c11.tar.gz
fixed bug #29283
Diffstat (limited to 'ext/mysqli/php_mysqli.h')
-rw-r--r--ext/mysqli/php_mysqli.h2
1 files changed, 1 insertions, 1 deletions
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();\
}\