Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Oct 14, 2013
1 parent 338e2aa commit 15d0526
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/bugnote_api.php
Expand Up @@ -71,7 +71,7 @@ class BugnoteData {
* Bug ID
*/
var $bug_id;

/**
* Reporter ID
*/
Expand Down Expand Up @@ -129,8 +129,8 @@ function bugnote_exists( $p_bugnote_id ) {
$t_bugnote_table = db_get_table( 'bugnote' );

$query = "SELECT COUNT(*)
FROM $t_bugnote_table
WHERE id=" . db_param();
FROM $t_bugnote_table
WHERE id=" . db_param();
$result = db_query_bound( $query, array( $p_bugnote_id ) );

if( 0 == db_result( $result ) ) {
Expand Down Expand Up @@ -316,7 +316,7 @@ function bugnote_delete_all( $p_bug_id ) {

# Delete the corresponding bugnotes
$query = "DELETE FROM $t_bugnote_table
WHERE bug_id=" . db_param();
WHERE bug_id=" . db_param();
$result = db_query_bound( $query, array( (int)$p_bug_id ) );

# db_query errors on failure so:
Expand Down

0 comments on commit 15d0526

Please sign in to comment.