Skip to content

Commit

Permalink
Fix spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Apr 28, 2016
1 parent b129988 commit 1aee17b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/bug_api.php
Expand Up @@ -917,7 +917,7 @@ function bug_text_cache_row( $p_bug_id, $p_trigger_errors = true ) {
return false;
}
}

$g_cache_bug_text[$c_bug_id] = $t_row;

return $t_row;
Expand Down
12 changes: 6 additions & 6 deletions core/bug_revision_api.php
Expand Up @@ -58,7 +58,7 @@ function bug_revision_add( $p_bug_id, $p_user_id, $p_type, $p_value, $p_bugnote_
} else {
$t_timestamp = $p_timestamp;
}

$t_query = 'INSERT INTO {bug_revision} (
bug_id, bugnote_id, user_id,
timestamp, type, value
Expand Down Expand Up @@ -238,11 +238,11 @@ function bug_revision_last( $p_bug_id, $p_type = REV_ANY, $p_bugnote_id = 0 ) {
$t_result = db_query( $t_query, $t_params, 1 );

$t_row = db_fetch_array( $t_result );
if( $t_row ) {
return $t_row;
}

return null;
if( $t_row ) {
return $t_row;
} else {
return null;
}
}

/**
Expand Down
2 changes: 1 addition & 1 deletion core/filter_api.php
Expand Up @@ -2011,7 +2011,7 @@ function filter_get_bug_rows( &$p_page_number, &$p_per_page, &$p_page_count, &$p
$t_where_params[] = $c_search;
$t_where_params[] = $c_search;
$t_where_params[] = $c_search;

if( is_numeric( $t_search_term ) ) {
# PostgreSQL on 64-bit OS hack (see #14014)
if( PHP_INT_MAX > 0x7FFFFFFF && db_is_pgsql() ) {
Expand Down

0 comments on commit 1aee17b

Please sign in to comment.