Skip to content

Commit

Permalink
include a comment as well
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1605 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Julian Fitzell committed Nov 10, 2002
1 parent 7529133 commit 47e187c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/helper_api.php
Expand Up @@ -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 $
# --------------------------------------------------------

###########################################################################
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 47e187c

Please sign in to comment.