summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_create.cpp
diff options
context:
space:
mode:
authorGustavo Lopes <glopes@nebm.ist.utl.pt>2012-08-21 23:21:59 +0200
committerGustavo Lopes <glopes@nebm.ist.utl.pt>2012-08-22 22:54:43 +0200
commitb9eae3d67c10ccaf83e85e36777704f276f0ffae (patch)
tree0b9d04091e89307392b45dce4cf1dcd69bc614d0 /ext/intl/dateformat/dateformat_create.cpp
parentfcd4420dbf51b8d343894bb852556cc2ccc462e3 (diff)
downloadphp-git-b9eae3d67c10ccaf83e85e36777704f276f0ffae.tar.gz
Fix handling of several uinitialized intl objects
Master specific changes. Not having this in the merge commit helps porting to pecl/intl
Diffstat (limited to 'ext/intl/dateformat/dateformat_create.cpp')
-rw-r--r--ext/intl/dateformat/dateformat_create.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/dateformat/dateformat_create.cpp b/ext/intl/dateformat/dateformat_create.cpp
index 7fefbe7449..a2899f7974 100644
--- a/ext/intl/dateformat/dateformat_create.cpp
+++ b/ext/intl/dateformat/dateformat_create.cpp
@@ -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,