[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar/inc hook_settings.inc.php,1.1.2.6,1.1.2
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar/inc hook_settings.inc.php,1.1.2.6,1.1.2.7 |
Date: |
Thu, 29 May 2003 06:45:45 -0400 |
Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv11084
Modified Files:
Tag: Version-0_9_16-branch
hook_settings.inc.php
Log Message:
killed warning if user is'nt a member of any group
Index: hook_settings.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/calendar/inc/hook_settings.inc.php,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -r1.1.2.6 -r1.1.2.7
*** hook_settings.inc.php 19 May 2003 23:29:23 -0000 1.1.2.6
--- hook_settings.inc.php 29 May 2003 10:45:41 -0000 1.1.2.7
***************
*** 125,131 ****
$groups =
$GLOBALS['phpgw']->accounts->membership($GLOBALS['phpgw_info']['user']['account_id']);
$options = array(-1 => lang('none'));
! foreach($groups as $group)
{
! $options[$group['account_id']] =
$GLOBALS['phpgw']->common->grab_owner_name($group['account_id']);
}
create_select_box('Preselected group for entering the
planner','planner_start_with_group',$options,
--- 125,134 ----
$groups =
$GLOBALS['phpgw']->accounts->membership($GLOBALS['phpgw_info']['user']['account_id']);
$options = array(-1 => lang('none'));
! if (is_array($groups))
{
! foreach($groups as $group)
! {
! $options[$group['account_id']] =
$GLOBALS['phpgw']->common->grab_owner_name($group['account_id']);
! }
}
create_select_box('Preselected group for entering the
planner','planner_start_with_group',$options,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar/inc hook_settings.inc.php,1.1.2.6,1.1.2.7,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.33.2.7,1.71.2.33.2.8 class.uicalendar.inc.php,1.66.2.55.2.11,1.66.2.55.2.12
- Next by Date:
[Phpgroupware-cvs] CVS: preferences/templates/default config.tpl,1.17.4.7,1.17.4.8
- Previous by thread:
[Phpgroupware-cvs] CVS: calendar/inc class.bocalendar.inc.php,1.71.2.33.2.7,1.71.2.33.2.8 class.uicalendar.inc.php,1.66.2.55.2.11,1.66.2.55.2.12
- Next by thread:
[Phpgroupware-cvs] CVS: preferences/templates/default config.tpl,1.17.4.7,1.17.4.8
- Index(es):