diff --git a/SourceBitBucket/SourceBitBucket.php b/SourceBitBucket/SourceBitBucket.php index c5b7d94..48b682e 100755 --- a/SourceBitBucket/SourceBitBucket.php +++ b/SourceBitBucket/SourceBitBucket.php @@ -216,7 +216,7 @@ foreach ( $t_branches as $t_branch ) { $t_query = "SELECT parent FROM $t_changeset_table WHERE repo_id=" . db_param() . ' AND branch=' . db_param() . - 'ORDER BY timestamp ASC'; + ' ORDER BY timestamp ASC'; $t_result = db_query_bound( $t_query, array($p_repo->id, $t_branch), 1 ); $t_commits = array($t_branch);