[Tickets #339] NEW: NLS.php getCountryByHost($host)
bugs at bugs.horde.org
bugs at bugs.horde.org
Sun Jun 27 23:37:46 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
-Ticket 339
-Queue: Horde Framework
-Created By:
>From kiwi at null.cx (Sun Jun 27 23:37:46 2004):
Warning: preg_match() expects parameter 2 to be string, array given in
/usr/local/lib/php/Horde/NLS.php on line 376
Notice: Array to string conversion in /usr/local/lib/php/Horde/NLS.php on
line 381
This error appears to be happen when the geoIP.dat database is specified in
the Horde 3.0 cvs framework in combination with Horde 3.0 cvs and IMP 4.0
cvs, i'm using the cvs from 6-25-2004.
an easy hack to fix it is to add the following code snipet in the function
before $host is used.
if ( is_array($host) )
$host = $host[0];
http://bugs.horde.org/details.php?id=339
--
More information about the bugs
mailing list