Skip to content

Commit

Permalink
Fixed two crucial typos in core_history_API.php, introduced when the …
Browse files Browse the repository at this point in the history
…input cleaning was added.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1205 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Jeroen Latour committed Aug 15, 2002
1 parent 53d764e commit 6efd9f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core_history_API.php
Expand Up @@ -45,8 +45,8 @@ function history_log_event( $p_bug_id, $p_field_name, $p_old_value ) {
function history_log_event_special( $p_bug_id, $p_type, $p_optional='', $p_optional2='' ) {
global $g_mantis_bug_history_table;

$c_bug_id = (integer)$c_bug_id;
$c_type = (integer)$c_type;
$c_bug_id = (integer)$p_bug_id;
$c_type = (integer)$p_type;
$c_optional = string_prepare_text( $p_optional );
$c_optional2 = string_prepare_text( $p_optional2 );
$t_user_id = get_current_user_field( 'id' );
Expand Down

0 comments on commit 6efd9f6

Please sign in to comment.