Skip to content

Commit

Permalink
Err, apparantly I wasn't done fixing. This commit fixes my previous one.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1762 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Jeroen Latour committed Jan 23, 2003
1 parent c391397 commit f6861d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/html_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: html_api.php,v 1.34 2003-01-23 21:44:43 jlatour Exp $
# $Id: html_api.php,v 1.35 2003-01-23 21:50:32 jlatour Exp $
# --------------------------------------------------------

###########################################################################
Expand All @@ -31,7 +31,6 @@ function print_page_top1() {
# --------------------
# core part of page top but without login info and menu - used in login pages
function print_page_top2a() {
return;
global $g_page_title, $g_top_include_page;

print_head_bottom();
Expand Down Expand Up @@ -162,7 +161,9 @@ function print_body_top() {
function print_header( $p_title='Mantis' ) {
global $g_show_project_in_title, $g_project_cookie_val;

if ( 0 == $g_project_cookie_val ) {
# Handle the absence of the project API, to allow errors in database queries to be
# handled with grace.
if ( 0 == $g_project_cookie_val || !function_exists('project_get_field') ) {
$t_project_name = lang_get( 'all_projects' );
} else {
$t_project_name = project_get_field( $g_project_cookie_val, 'name' );
Expand Down

0 comments on commit f6861d3

Please sign in to comment.