Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

5.4 compatibility - nullify secret argument

  • Loading branch information...
commit 5bfee65ef5dd6d9116488fa27e529a530fc14b3b 1 parent 95949b6
@piotras authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  php_midgard_object_class.c
View
2  php_midgard_object_class.c
@@ -34,7 +34,7 @@ static PHP_METHOD(midgard_object_class, factory)
zend_class_entry **pce = NULL;
#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 3
- if (zend_lookup_class_ex(class_name, class_name_length, 1, 0, &pce TSRMLS_CC) == FAILURE) {
+ if (zend_lookup_class_ex(class_name, class_name_length, NULL, 1, &pce TSRMLS_CC) == FAILURE) {
#else
if (zend_lookup_class_ex(class_name, class_name_length, 1, &pce TSRMLS_CC) == FAILURE) {
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.