Re: cvs: php4 /ext/gettext gettext.c
| From: | Derick Rethans | Date: | Sat, 08 Feb 2003 19:20:00 +0000 |
| Subject: | Re: cvs: php4 /ext/gettext gettext.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-18501@lists.php.net to get a copy of this message | ||
On Sat, 8 Feb 2003, Sascha Schumann wrote:
> sas Sat Feb 8 13:58:34 2003 EDT
>
> - if (strcmp(Z_STRVAL_PP(dir), "") && strcmp(Z_STRVAL_PP(dir),
> "0")) {
> + if (Z_STRVAL_PP(domain_name)[0] == '\0') {
> + php_error(E_WARNING, "The first parameter of bindtextdomain must not be empty");
> + RETURN_FALSE;
> + }
Please use php_error_docref in new code...
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------