diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index dada96fb2a..6bd74295be 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -806,9 +806,9 @@ $perm_html .= '' . lang($perm_display[$i][1]) . '' . '' - .($apps_with_acl[$app] && $group_info['account_id']?''
-					.lang('Grant Access').'':' ').''.($i & 1?'':'')."\n"; + . ($apps_with_acl[$app] && $group_info['account_id']?''
+					. lang('Grant Access').'':' ').''.($i & 1?'':'')."\n"; } if($i & 1) { diff --git a/infolog/inc/hook_preferences.inc.php b/infolog/inc/hook_preferences.inc.php index b330e2a51b..b574abf11d 100644 --- a/infolog/inc/hook_preferences.inc.php +++ b/infolog/inc/hook_preferences.inc.php @@ -17,7 +17,7 @@ $title = $appname; $file = array( 'Preferences' => $GLOBALS['phpgw']->link('/index.php','menuaction=infolog.uiinfolog.preferences'), - 'Grant Access' => $GLOBALS['phpgw']->link('/preferences/acl_preferences.php','acl_app='.$appname), + 'Grant Access' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), 'Edit Categories' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') ); //Do not modify below this line