mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
silence warnings
This commit is contained in:
parent
f3b4b5687e
commit
6eaeae0d45
@ -382,9 +382,9 @@ class preferences
|
||||
|
||||
// now use (primary) group defaults if needed (user-value unset or empty)
|
||||
//
|
||||
foreach($this->group as $app => $values)
|
||||
foreach((array)$this->group as $app => $values)
|
||||
{
|
||||
foreach($values as $var => $value)
|
||||
foreach((array)$values as $var => $value)
|
||||
{
|
||||
if (!isset($this->data[$app][$var]) || $this->data[$app][$var] === '')
|
||||
{
|
||||
@ -394,9 +394,9 @@ class preferences
|
||||
}
|
||||
// now use defaults if needed (user-value unset or empty)
|
||||
//
|
||||
foreach($this->default as $app => $values)
|
||||
foreach((array)$this->default as $app => $values)
|
||||
{
|
||||
foreach($values as $var => $value)
|
||||
foreach((array)$values as $var => $value)
|
||||
{
|
||||
if (!isset($this->data[$app][$var]) || $this->data[$app][$var] === '')
|
||||
{
|
||||
@ -407,9 +407,9 @@ class preferences
|
||||
}
|
||||
// now set/force forced values
|
||||
//
|
||||
foreach($this->forced as $app => $values)
|
||||
foreach((array)$this->forced as $app => $values)
|
||||
{
|
||||
foreach($values as $var => $value)
|
||||
foreach((array)$values as $var => $value)
|
||||
{
|
||||
$this->data[$app][$var] = $value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user