Skip to content

Commit

Permalink
0002208: Fixed a warning on executing a group action without selecting
Browse files Browse the repository at this point in the history
bugs.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1169 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jul 6, 2002
1 parent cba3764 commit fa9cdac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bug_actiongroup.php
Expand Up @@ -155,4 +155,4 @@ function updateBugLite($p_id, $p_status, $p_request) {

print_meta_redirect( 'view_all_bug_page.php',0);
}
?>
?>
4 changes: 2 additions & 2 deletions bug_actiongroup_page.php
Expand Up @@ -30,7 +30,7 @@
}

# redirects to all_bug_page if nothing is selected
if (( $f_action=='') or count($f_bug_arr)==0 ) {
if ( ( $f_action=='' ) || !isset( $f_bug_arr ) || count( $f_bug_arr ) == 0 ) {
print_meta_redirect( 'view_all_bug_page.php',0);
exit;
}
Expand Down Expand Up @@ -180,4 +180,4 @@
?>


<?php print_page_bot1( __FILE__ ) ?>
<?php print_page_bot1( __FILE__ ) ?>

0 comments on commit fa9cdac

Please sign in to comment.