mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
fix PHP 7.1 Error: [] operator not supported for strings in Setup >> Configuration
This commit is contained in:
parent
e0eaaee7f7
commit
e8b08eedbe
@ -132,14 +132,8 @@ $GLOBALS['egw_setup']->hook('config','setup');
|
||||
foreach($vars as $value)
|
||||
{
|
||||
$valarray = explode('_',$value);
|
||||
$type = $valarray[0];
|
||||
$new = $newval = '';
|
||||
|
||||
while($chunk = next($valarray))
|
||||
{
|
||||
$new[] = $chunk;
|
||||
}
|
||||
$newval = implode(' ',$new);
|
||||
$type = array_shift($valarray);
|
||||
$newval = implode(' ',$valarray);
|
||||
|
||||
switch ($type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user