Skip to content

Commit

Permalink
Short some long lines
Browse files Browse the repository at this point in the history
Fixes #5189
  • Loading branch information
vboctor committed Sep 7, 2023
1 parent bd81ad1 commit 2e192bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion manage_proj_update_children.php
Expand Up @@ -67,4 +67,7 @@

form_security_purge( 'manage_proj_update_children' );

print_header_redirect( 'manage_proj_edit_page.php?project_id=' . $f_project_id . '#subprojects' );
$t_redirect_url =
'manage_proj_edit_page.php?project_id=' . $f_project_id . '#subprojects';

print_header_redirect( $t_redirect_url );
6 changes: 4 additions & 2 deletions manage_proj_ver_add.php
Expand Up @@ -95,9 +95,11 @@
}

if( $f_add_and_edit ) {
$t_redirect_url = 'manage_proj_ver_edit_page.php?version_id=' . $t_version_id;
$t_redirect_url =
'manage_proj_ver_edit_page.php?version_id=' . $t_version_id;
} else {
$t_redirect_url = 'manage_proj_edit_page.php?project_id=' . $f_project_id . '#versions';
$t_redirect_url =
'manage_proj_edit_page.php?project_id=' . $f_project_id . '#versions';
}

print_header_redirect( $t_redirect_url );

0 comments on commit 2e192bc

Please sign in to comment.