Check that $var is set and not False - some installs will error on the array element not being set

This commit is contained in:
Miles Lott 2003-10-16 11:41:40 +00:00
parent e07e330732
commit 3a298a8c7d

View File

@ -394,7 +394,7 @@
}
else
{
if (isset($this->$set_from[$app_name][$var]) && $this->$set_from[$app_name][$var] !== '')
if ($var && isset($this->$set_from[$app_name][$var]) && $this->$set_from[$app_name][$var] !== '')
{
$this->data[$app_name][$var] = $this->$set_from[$app_name][$var];
break;