From 47e187ca382975ac4651e1138593a9098c5755c9 Mon Sep 17 00:00:00 2001 From: Julian Fitzell Date: Sun, 10 Nov 2002 21:39:14 +0000 Subject: [PATCH] include a comment as well git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1605 f5dc347c-c33d-0410-90a0-b07cc1902cb9 --- core/helper_api.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/helper_api.php b/core/helper_api.php index d84058fcd4..b3fe603044 100644 --- a/core/helper_api.php +++ b/core/helper_api.php @@ -6,7 +6,7 @@ # See the files README and LICENSE for details # -------------------------------------------------------- - # $Id: helper_api.php,v 1.22 2002-11-10 21:38:22 jfitzell Exp $ + # $Id: helper_api.php,v 1.23 2002-11-10 21:39:14 jfitzell Exp $ # -------------------------------------------------------- ########################################################################### @@ -202,7 +202,8 @@ function helper_get_current_project() { if ( null === $t_project_id ) { $t_pref = current_user_get_pref( 'default_project' ); - if ( '' == $t_pref ) { + if ( '' == $t_pref ) { #@@@ this shouldn't happen but may because of + # of DB data from before 0.18 $t_pref = 0; } return (int)$t_pref;