summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-07-09 23:30:19 +0000
committerMarcus Boerger <helly@php.net>2006-07-09 23:30:19 +0000
commitc5ff44688a6ce84c09c80236a7e460913219eebe (patch)
tree60c7746704e2f388a70b91f5d8fa2af6ccd0960d /ext/reflection/php_reflection.c
parentff087055914f258d3dfb6fd4ae2c1ec1f39e63c4 (diff)
downloadphp-git-c5ff44688a6ce84c09c80236a7e460913219eebe.tar.gz
- MFH Fix logic
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index f1ab8560bf..a223889a68 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -3889,7 +3889,7 @@ ZEND_METHOD(reflection_property, setValue)
METHOD_NOTSTATIC(reflection_property_ptr);
GET_REFLECTION_OBJECT_PTR(ref);
- if (ref->prop->flags & ~(ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)) {
+ if (!(ref->prop->flags & ZEND_ACC_PUBLIC)) {
_DO_THROW("Cannot access non-public member");
/* Returns from this function */
}