Skip to content

Commit 42ea640

Browse files
committed
Fixed SeasX#6 Class 'SeasClick' not found
ce_flags is set to ZEND_ACC_FINAL
1 parent 2c89fab commit 42ea640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SeasClick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ PHP_MINIT_FUNCTION(SeasClick)
116116
zend_declare_property_null(SeasClick_ce, "passwd", strlen("passwd"), ZEND_ACC_PROTECTED TSRMLS_CC);
117117
zend_declare_property_bool(SeasClick_ce, "compression", strlen("compression"), false, ZEND_ACC_PROTECTED TSRMLS_CC);
118118

119-
SeasClick_ce->ce_flags = ZEND_ACC_IMPLICIT_PUBLIC;
119+
SeasClick_ce->ce_flags |= ZEND_ACC_FINAL;
120120
return SUCCESS;
121121
}
122122
/* }}} */

0 commit comments

Comments
 (0)