mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
Fix bad setting of var when no lang is set
This commit is contained in:
parent
d53d3bf0ef
commit
e029c2151a
@ -240,12 +240,13 @@
|
|||||||
/* Setup query for 1st char of fullname, company, lastname using user lang */
|
/* Setup query for 1st char of fullname, company, lastname using user lang */
|
||||||
if(lang('alphabet') == 'alphabet*')
|
if(lang('alphabet') == 'alphabet*')
|
||||||
{
|
{
|
||||||
$aar = array('a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z');
|
$chars = 'a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$aar = explode(',',lang('alphabet'));
|
$chars = lang('alphabet');
|
||||||
}
|
}
|
||||||
|
$aar = explode(',',$chars);
|
||||||
$aar[] = 'all';
|
$aar[] = 'all';
|
||||||
foreach($aar as $char)
|
foreach($aar as $char)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user