fixed login page

This commit is contained in:
seek3r 2000-09-29 20:28:46 +00:00
parent e72c4e2534
commit 9290785226

View File

@ -98,8 +98,8 @@
} else { } else {
if ($last_loginid) { if ($last_loginid) {
$phpgw->db->query("select value from preferences where owner='$last_loginid' " $phpgw->db->query("select preference_value from preferences where preference_owner='$last_loginid' "
. "and name='lang'"); . "and preference_name='lang'");
$phpgw->db->next_record(); $phpgw->db->next_record();
if (! $phpgw->db->f("value")) { if (! $phpgw->db->f("value")) {
$users_lang = "en"; $users_lang = "en";