Skip to content

Commit beaf485

Browse files
Greg Rundlettdregad
authored andcommitted
GitHub: Fix SQL syntax error in 'import_full'
Fixes #221 Signed-off-by: Damien Regad <[email protected]> Reworded original commit message and added PR reference.
1 parent 891ad31 commit beaf485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SourceGithub/SourceGithub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public function import_full( $p_repo ) {
328328
foreach( $t_branches as $t_branch ) {
329329
$t_query = "SELECT parent FROM $t_changeset_table
330330
WHERE repo_id=" . db_param() . ' AND branch=' . db_param() .
331-
'ORDER BY timestamp ASC';
331+
' ORDER BY timestamp ASC';
332332
$t_result = db_query( $t_query, array( $p_repo->id, $t_branch ), 1 );
333333

334334
$t_commits = array( $t_branch );

0 commit comments

Comments
 (0)