Re: Re: [svn-commits] r8539 - r3/trunk/binarycloud/debug
"B. Kamer" <[email protected]> Thu, 26 May 2005 14:23:29 +0200
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
On May 26, 2005, at 13:15, Jean-Christophe Michel wrote: > Hi Bas, > > [email protected] wrote: > >> Modified: r3/trunk/binarycloud/debug/Debug.php >> =================================================================== >> - $clientinfo['Accept Language'] = join(',', $client- >> >getAcceptedLangs()); >> + $acceptedLanguages = $client->getAcceptedLangs(); >> + if (!is_null($acceptedLanguages)) $clientinfo['Accept >> Language'] = join(',', $acceptedLanguages); >> + else $clientinfo['Accept Language'] = ''; >> > > Wouldn't it be simpler to correct Client to return array() instead of > null ? > Accepted langages is used in i18n with count($a)>0 anyway. hmm yes... i'll do it... _______________________________________________ dev mailing list dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] http://lists.binarycloud.com/mailman/listinfo/dev