cvs: php4 /ext/calendar easter.c
| From: | Derick Rethans | Date: | Wed, 26 Jun 2002 07:12:48 +0000 |
| Subject: | cvs: php4 /ext/calendar easter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12525@lists.php.net to get a copy of this message | ||
derick Wed Jun 26 03:12:48 2002 EDT
Modified files:
/php4/ext/calendar easter.c
Log:
Unify error messages
Index: php4/ext/calendar/easter.c
diff -u php4/ext/calendar/easter.c:1.10 php4/ext/calendar/easter.c:1.11
--- php4/ext/calendar/easter.c:1.10 Mon Jun 10 03:51:28 2002
+++ php4/ext/calendar/easter.c Wed Jun 26 03:12:46 2002
@@ -48,7 +48,7 @@
}
if (gm && (year<1970 || year>2037)) { /* out of range for timestamps */
- php_error(E_WARNING, "easter_date() is only valid for years between 1970 and 2037
inclusive");
+ php_error(E_WARNING, "%s(): This function is only valid for years between 1970 and 2037
inclusive", get_active_function_name(TSRMLS_C));
RETURN_FALSE;
}