fix for themes

This commit is contained in:
skeeter 2000-12-27 21:59:05 +00:00
parent 5909a9738a
commit 22feaafc29

View File

@ -169,7 +169,6 @@
$this->session = new sessions; $this->session = new sessions;
$log = explode("@",$login); $log = explode("@",$login);
$this->preferences = new preferences($log[0]); $this->preferences = new preferences($log[0]);
// $this->preferences->preferences_($log[0]);
}else{ }else{
/* Load selected authentication class */ /* Load selected authentication class */
if (empty($phpgw_info["server"]["auth_type"])){$phpgw_info["server"]["auth_type"] = "sql";} if (empty($phpgw_info["server"]["auth_type"])){$phpgw_info["server"]["auth_type"] = "sql";}
@ -356,6 +355,7 @@
} }
if ($preferences_update) { if ($preferences_update) {
$phpgw->preferences->commit(__LINE__,__FILE__); $phpgw->preferences->commit(__LINE__,__FILE__);
$phpgw_info["user"]["preferences"]["common"] = $phpgw->preferences->preferences["common"];
} }
unset($preferences_update); unset($preferences_update);
} }