]> granicus.if.org Git - php/commitdiff
Fix typo (it's in DateTime::__wakeup)
authorXinchen Hui <laruence@php.net>
Sun, 31 Mar 2013 12:07:14 +0000 (20:07 +0800)
committerXinchen Hui <laruence@php.net>
Sun, 31 Mar 2013 12:07:14 +0000 (20:07 +0800)
ext/date/php_date.c

index 0367726786d2d2165e54573f39cf7eeee5ba24d4..4ef314369c738d60ebdd2c356a2d71f0576070dd 100644 (file)
@@ -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");
        }
 }
 /* }}} */