Skip to content

Commit

Permalink
Restored trigger_error (it was in fact a PHP built-in)
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1296 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Jeroen Latour committed Aug 22, 2002
1 parent 476502c commit c115664
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core_security_API.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
# See the files README and LICENSE for details

# --------------------------------------------------------
# $Revision: 1.1 $
# $Revision: 1.2 $
# $Author: jlatour $
# $Date: 2002-08-22 18:05:08 $
# $Date: 2002-08-22 18:15:10 $
#
# $Id: core_security_API.php,v 1.1 2002-08-22 18:05:08 jlatour Exp $
# $Id: core_security_API.php,v 1.2 2002-08-22 18:15:10 jlatour Exp $
# --------------------------------------------------------

###########################################################################
Expand All @@ -32,8 +32,7 @@ function get_var( $p_var_name, $p_default = 'nil' ) {
} else if ( 'nil' != $p_default) {
$t_result = $p_default;
} else {
# To be implemented later.
# trigger_error("Variable '$p_var_name' with no default is missing", E_USER_ERROR);
trigger_error("Variable '$p_var_name' with no default is missing", E_USER_ERROR);
}

return $t_result;
Expand Down

0 comments on commit c115664

Please sign in to comment.