*** index.php.orig Sun Feb 10 13:29:26 2002
--- index.php Sun Feb 10 13:30:39 2002
***************
*** 381,393 ****
// ================================================================================
// you can only create one subproject per project, no subprojects of subprojects
// ================================================================================
! if ($action != 'sp')
{
! if ($phpgw->todo->check_perms($grants[$phpgw->db->f('todo_owner')],PHPGW_ACL_ADD))
! {
! $phpgw->template->set_var('subadd', '' . lang('Add Sub') . '');
! }
}
else
{
--- 381,391 ----
// ================================================================================
// you can only create one subproject per project, no subprojects of subprojects
// ================================================================================
! if ($action != 'sp' &&
! $phpgw->todo->check_perms($grants[$phpgw->db->f('todo_owner')],PHPGW_ACL_ADD))
{
! $phpgw->template->set_var('subadd', '' . lang('Add Sub') . '');
}
else
{