Skip to content

Commit

Permalink
Fix handling of several uinitialized intl objects
Browse files Browse the repository at this point in the history
Master specific changes. Not having this in the merge commit helps
porting to pecl/intl
  • Loading branch information
cataphract committed Aug 22, 2012
1 parent fcd4420 commit b9eae3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/intl/dateformat/dateformat_create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void datefmt_ctor(INTERNAL_FUNCTION_PARAMETERS)
}
locale = Locale::createFromName(locale_str);

DATE_FORMAT_METHOD_FETCH_OBJECT;
DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK;

if (DATE_FORMAT_OBJECT(dfo) != NULL) {
intl_errors_set(INTL_DATA_ERROR_P(dfo), U_ILLEGAL_ARGUMENT_ERROR,
Expand Down

0 comments on commit b9eae3d

Please sign in to comment.