summaryrefslogtreecommitdiff
path: root/ext/msql/php_msql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/msql/php_msql.c')
-rw-r--r--ext/msql/php_msql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/msql/php_msql.c b/ext/msql/php_msql.c
index 4c2d2e8de1..c253afdcaa 100644
--- a/ext/msql/php_msql.c
+++ b/ext/msql/php_msql.c
@@ -982,7 +982,7 @@ PHP_FUNCTION(msql_fetch_object)
{
php_msql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
if (Z_TYPE_P(return_value)==IS_ARRAY) {
- object_and_properties_init(return_value, &zend_standard_class_def, Z_ARRVAL_P(return_value));
+ object_and_properties_init(return_value, ZEND_STANDARD_CLASS_DEF_PTR, Z_ARRVAL_P(return_value));
}
}
/* }}} */