mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
fix string offset error - maybe php5 only
This commit is contained in:
parent
4d52af6e80
commit
e506ffa377
@ -395,11 +395,13 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ($var && @isset($this->$set_from[$app_name][$var]) && $this->$set_from[$app_name][$var] !== '')
|
$arr = $this->$set_from;
|
||||||
|
if($var && @isset($arr[$app_name][$var]) && $arr[$app_name][$var] !== '')
|
||||||
{
|
{
|
||||||
$this->data[$app_name][$var] = $this->$set_from[$app_name][$var];
|
$this->data[$app_name][$var] = $this->$set_from[$app_name][$var];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
unset($arr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
reset ($this->data);
|
reset ($this->data);
|
||||||
|
Loading…
Reference in New Issue
Block a user