- Fixed ZTS build

This commit is contained in:
Felipe Pena 2011-08-16 12:01:36 +00:00
parent 133596b6f7
commit 074c7e6a3a

View File

@ -639,7 +639,7 @@ static inline int zend_verify_arg_type(zend_function *zf, zend_uint arg_num, zva
break;
case IS_CALLABLE:
if (!zend_is_callable(arg, IS_CALLABLE_CHECK_SILENT, NULL) && (Z_TYPE_P(arg) != IS_NULL || !cur_arg_info->allow_null)) {
if (!zend_is_callable(arg, IS_CALLABLE_CHECK_SILENT, NULL TSRMLS_CC) && (Z_TYPE_P(arg) != IS_NULL || !cur_arg_info->allow_null)) {
return zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, "be callable", "", zend_zval_type_name(arg), "" TSRMLS_CC);
}
break;