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/
-------------------------------------------------------------------------


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to