[imp] Little bug in imp 2.3.7

Jon Parise jon@csh.rit.edu
Wed, 14 Mar 2001 09:13:04 -0500


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.

    http://www.php.net/manual/en/function.setlocale.php

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member