diff --git a/bug_actiongroup_page.php b/bug_actiongroup_page.php index 0e2fbf2b04..a1a6c3e961 100644 --- a/bug_actiongroup_page.php +++ b/bug_actiongroup_page.php @@ -19,7 +19,11 @@ foreach($f_qsValues as $value) { $val=split('=', $value); if ( substr($val[0], 0, 6)=='update' ) { - print_meta_redirect( 'bug_update_advanced_page.php?f_id='.substr($val[0], 7, strlen($val[0])-9), 0 ); + if ( ON == get_current_user_pref_field( 'advanced_update' ) ) { + print_meta_redirect( 'bug_update_advanced_page.php?f_id='.substr($val[0], 7, strlen($val[0])-9), 0 ); + } else { + print_meta_redirect( 'view_bug_page.php?f_id='.substr($val[0], 7, strlen($val[0])-9), 0 ); + } exit; } }