improper group info on new groups causing navbar problems

This commit is contained in:
skeeter 2000-10-10 23:28:42 +00:00
parent f0681bc53e
commit 5001c5bdbd
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@
for ($i=0; $i<count($n_users);$i++) {
$phpgw->db->query("SELECT account_groups FROM accounts WHERE account_id=".$n_users[$i]);
$phpgw->db->next_record();
$user_groups = $phpgw->db->f("account_groups") . ",$group_con,";
$user_groups = $phpgw->db->f("account_groups") . ",$group_con:0,";
$user_groups = ereg_replace(",,",",",$user_groups);
$phpgw->db->query("UPDATE accounts SET account_groups='$user_groups' WHERE account_id=".$n_users[$i]);

View File

@ -11,6 +11,7 @@
- Applied Patch #101321 - CZECH lang translation. Thanks Petr Moses <pmoses@users.sourceforge.net>
- Now ISO 639 compliant with language translation id.
- Applied Patch #101828 - Swedish lang translation. Thanks Kjell Claesson <keyson@users.sourceforge.net>
- Fixed group management with new groups and navbar problems.
[0.9.1] - Fixed a few missing variables with templates.
- editing a product in the inventory program now forwards you back to the category