fix string offset error - maybe php5 only

This commit is contained in:
Miles Lott 2003-12-27 18:05:20 +00:00
parent 4d52af6e80
commit e506ffa377

View File

@ -395,11 +395,13 @@
}
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];
break;
}
unset($arr);
}
}
reset ($this->data);