[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar/inc class.uipreferences.inc.php,1.8,1.9
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar/inc class.uipreferences.inc.php,1.8,1.9 |
Date: |
Sun, 09 Mar 2003 15:58:06 -0500 |
Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv30770
Modified Files:
class.uipreferences.inc.php
Log Message:
killed a warning if user is in no group
Index: class.uipreferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/class.uipreferences.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** class.uipreferences.inc.php 23 Nov 2002 14:19:33 -0000 1.8
--- class.uipreferences.inc.php 9 Mar 2003 20:58:04 -0000 1.9
***************
*** 116,120 ****
$groups =
$GLOBALS['phpgw']->accounts->membership($user);
$str = '<option
value="-1"'.(intval($this->bo->prefs['calendar']['planner_start_with_group'])==-1?'
selected':'').'>none</option>'."\n";
! while (list($key,$group) = each($groups))
{
$str .= '<option
value="'.$group['account_id'].'"'.(intval($this->bo->prefs['calendar']['planner_start_with_group'])==$group['account_id']?'
selected':'').'>'.$GLOBALS['phpgw']->common->grab_owner_name($group['account_id']).'</option>'."\n";
--- 116,120 ----
$groups =
$GLOBALS['phpgw']->accounts->membership($user);
$str = '<option
value="-1"'.(intval($this->bo->prefs['calendar']['planner_start_with_group'])==-1?'
selected':'').'>none</option>'."\n";
! while (list($key,$group) = @each($groups))
{
$str .= '<option
value="'.$group['account_id'].'"'.(intval($this->bo->prefs['calendar']['planner_start_with_group'])==$group['account_id']?'
selected':'').'>'.$GLOBALS['phpgw']->common->grab_owner_name($group['account_id']).'</option>'."\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar/inc class.uipreferences.inc.php,1.8,1.9,
Ralf Becker <address@hidden> <=