forked from extern/egroupware
fix IDE warnings
This commit is contained in:
parent
7cc924c74e
commit
6a3ed78a28
@ -172,15 +172,9 @@ foreach($vars as $value)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'selected':
|
case 'selected':
|
||||||
$configs = array();
|
|
||||||
$config = '';
|
|
||||||
$newvals = explode(' ',$newval);
|
$newvals = explode(' ',$newval);
|
||||||
$setting = end($newvals);
|
$setting = array_pop($newvals);
|
||||||
for($i=0;$i<(count($newvals) - 1); $i++)
|
$config = implode('_',$newvals);
|
||||||
{
|
|
||||||
$configs[] = $newvals[$i];
|
|
||||||
}
|
|
||||||
$config = implode('_',$configs);
|
|
||||||
/* echo $config . '=' . $current_config[$config]; */
|
/* echo $config . '=' . $current_config[$config]; */
|
||||||
if(@$current_config[$config] == $setting)
|
if(@$current_config[$config] == $setting)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user