com php-src: Fix typo (it's in DateTime::__wakeup): ext/date/php_date.c
| From: | Xinchen Hui | Date: | Sun, 31 Mar 2013 12:07:14 +0000 |
| Subject: | com php-src: Fix typo (it's in DateTime::__wakeup): ext/date/php_date.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71816@lists.php.net to get a copy of this message | ||
Commit: 2f6b9b970c9529c4fa32cd306b69704f55681354
Author: Xinchen Hui <laruence@php.net> Sun, 31 Mar 2013 20:07:14 +0800
Parents: 503760c9130683a21ffe631fddfb20cc18ee2867
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2f6b9b970c9529c4fa32cd306b69704f55681354
Log:
Fix typo (it's in DateTime::__wakeup)
Changed paths:
M ext/date/php_date.c
Diff:
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 0367726..4ef3143 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");
}
}
/* }}} */