summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/dateformat/dateformat_helpers.cpp')
-rw-r--r--ext/intl/dateformat/dateformat_helpers.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/intl/dateformat/dateformat_helpers.cpp b/ext/intl/dateformat/dateformat_helpers.cpp
index f58317ebc1..f578512de6 100644
--- a/ext/intl/dateformat/dateformat_helpers.cpp
+++ b/ext/intl/dateformat/dateformat_helpers.cpp
@@ -69,8 +69,7 @@ int datefmt_process_calendar_arg(zval* calendar_zv,
cal_int_type = Z_LVAL_P(calendar_zv);
} else if (Z_TYPE_P(calendar_zv) == IS_OBJECT &&
- instanceof_function_ex(Z_OBJCE_P(calendar_zv),
- Calendar_ce_ptr, 0)) {
+ instanceof_function(Z_OBJCE_P(calendar_zv), Calendar_ce_ptr)) {
cal = calendar_fetch_native_calendar(calendar_zv);
if (cal == NULL) {