fixed some sql and ldap errors

This commit is contained in:
Lars Kneschke 2000-11-25 22:55:15 +00:00
parent 8792d409b0
commit 329e49904b
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
}
$limit = $phpgw->nextmatchs->sql_limit($start);
$phpgw->db->query("select count(*) from sessions",__LINE__,__FILE__);
$phpgw->db->query("select count(*) from phpgw_sessions",__LINE__,__FILE__);
$phpgw->db->next_record();
$total = $phpgw->db->f(0);
@ -51,7 +51,7 @@
$ordermethod = "order by session_dla asc";
}
$phpgw->db->query("select * from sessions $ordermethod limit $limit",__LINE__,__FILE__);
$phpgw->db->query("select * from phpgw_sessions $ordermethod limit $limit",__LINE__,__FILE__);
$i = 0;
while ($phpgw->db->next_record()) {

View File

@ -23,7 +23,7 @@
}
if ($confirm) {
$phpgw->db->query("delete from sessions where session_id='$ksession'");
$phpgw->db->query("delete from phpgw_sessions where session_id='$ksession'");
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/admin/currentusers.php",
"cd=19"));
} else {