forked from extern/egroupware
Fixed last account showing up twice
This commit is contained in:
parent
3f26407659
commit
1cdd40e6b9
@ -64,6 +64,7 @@
|
|||||||
$phpgw->db->query("select account_id,account_firstname,account_lastname,account_lid from accounts $querymethod "
|
$phpgw->db->query("select account_id,account_firstname,account_lastname,account_lid from accounts $querymethod "
|
||||||
. "$ordermethod limit $limit");
|
. "$ordermethod limit $limit");
|
||||||
|
|
||||||
|
$i = 0;
|
||||||
while ($phpgw->db->next_record()) {
|
while ($phpgw->db->next_record()) {
|
||||||
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
$tr_color = $phpgw->nextmatchs->alternate_row_color($tr_color);
|
||||||
$t->set_var("tr_color",$tr_color);
|
$t->set_var("tr_color",$tr_color);
|
||||||
@ -95,7 +96,6 @@
|
|||||||
if ($phpgw->db->num_rows() != ++$i) {
|
if ($phpgw->db->num_rows() != ++$i) {
|
||||||
$t->parse("output","row",True);
|
$t->parse("output","row",True);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$t->set_var("actionurl",$phpgw->link("newaccount.php"));
|
$t->set_var("actionurl",$phpgw->link("newaccount.php"));
|
||||||
|
Loading…
Reference in New Issue
Block a user