Skip to content

Commit

Permalink
0002173: The Pen shortcut now opens the update simple/advanced based
Browse files Browse the repository at this point in the history
on the user's preferences.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1156 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jun 25, 2002
1 parent be03476 commit aa6a2a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bug_actiongroup_page.php
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit aa6a2a3

Please sign in to comment.