From: Xinchen Hui Date: Sun, 31 Mar 2013 12:07:14 +0000 (+0800) Subject: Fix typo (it's in DateTime::__wakeup) X-Git-Tag: php-5.5.0beta3~8^2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f6b9b970c9529c4fa32cd306b69704f55681354;p=php Fix typo (it's in DateTime::__wakeup) --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 0367726786..4ef314369c 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2842,7 +2842,7 @@ PHP_METHOD(DateTime, __wakeup) myht = Z_OBJPROP_P(object); if (!php_date_initialize_from_hash(&return_value, &dateobj, myht TSRMLS_CC)) { - php_error(E_ERROR, "Invalid serialization data for DateTimeInterface object"); + php_error(E_ERROR, "Invalid serialization data for DateTime object"); } } /* }}} */