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 {
if ($last_loginid) {
$phpgw->db->query("select value from preferences where owner='$last_loginid' "
. "and name='lang'");
$phpgw->db->query("select preference_value from preferences where preference_owner='$last_loginid' "
. "and preference_name='lang'");
$phpgw->db->next_record();
if (! $phpgw->db->f("value")) {
$users_lang = "en";