From: Victor B. <vb...@us...> - 2006-05-05 15:37:12
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13432/core Modified Files: constant_inc.php print_api.php Log Message: Fixed #7013: newbie admins may be redirected to blank page. Index: constant_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/constant_inc.php,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- constant_inc.php 22 Apr 2006 06:19:40 -0000 1.55 +++ constant_inc.php 5 May 2006 15:37:08 -0000 1.56 @@ -177,6 +177,7 @@ define( 'ERROR_UPLOAD_FAILURE', 15 ); define( 'ERROR_FTP_CONNECT_ERROR', 16 ); define( 'ERROR_HANDLER_ACCESS_TOO_LOW', 17 ); + define( 'ERROR_PAGE_REDIRECTION', 18 ); # ERROR_CONFIG_* define( 'ERROR_CONFIG_OPT_NOT_FOUND', 100 ); Index: print_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/print_api.php,v retrieving revision 1.152 retrieving revision 1.153 diff -u -d -r1.152 -r1.153 --- print_api.php 21 Mar 2006 13:06:06 -0000 1.152 +++ print_api.php 5 May 2006 15:37:08 -0000 1.153 @@ -48,6 +48,7 @@ header( "Location: $t_url" ); } } else { + trigger_error( ERROR_PAGE_REDIRECTION, ERROR ); return false; } |