View Issue Details

IDProjectCategoryView StatusLast Update
0005196mantisbtscriptingpublic2009-06-23 15:28
Reporterromke Assigned Tograngeway  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.2 
Fixed in Version1.2.0rc1 
Summary0005196: core/print_api.php print_successful_redirect function calls html_api functions in wrong order
Description

html_meta_redirect function should be called after html_page_top1 and before html_page_top2. Patch in attachment.

TagsNo tags attached.
Attached Files
print_api.php.patch (543 bytes)   
--- bugs-orig/core/print_api.php	2005-02-02 16:10:12.000000000 +0100
+++ bugs/core/print_api.php	2005-02-02 16:49:21.000000000 +0100
@@ -67,8 +67,8 @@
 	# If the show query count is OFF, redirect right away.
 	function print_successful_redirect( $p_redirect_to ) {
 		if ( ON == config_get( 'show_queries_count' ) ) {
-			html_meta_redirect( $p_redirect_to );
 			html_page_top1();
+			html_meta_redirect( $p_redirect_to );
 			html_page_top2();
 			PRINT '<br /><div class="center">';
 			PRINT lang_get( 'operation_successful' ) . '<br />';
print_api.php.patch (543 bytes)   

Activities

grangeway

grangeway

2009-05-30 17:36

reporter   ~0021986

Fixed in git trunk