[imp] Little bug in imp 2.3.7

Jan Schneider janmailing@gmx.de
Fri, 16 Mar 2001 15:14:46 +0100


Zitat von Jon Parise <jon@csh.rit.edu>:

> On Wed, Mar 14, 2001 at 12:10:38PM +0100, Jan Schneider wrote:
> 
> > I found a little bug in lib/base.php of the latest cvs sources:
> > setlocale takes a string as the first argument, so line 46 should be:
> > @setlocale('LC_ALL', $language);
>  
> setlocale() now takes a constant as the first parameter.  This
> behavior changed between PHP 4.0.4 and PHP 4.0.5.

So wouldn't it be nice to check for the PHP version or the existence of a so 
named constant and definde this constant in IMP if not so?
Just an idea.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::