diff --git a/module/compile/view/logs.html.php b/module/compile/view/logs.html.php
index 53e732741a..4b5e528505 100644
--- a/module/compile/view/logs.html.php
+++ b/module/compile/view/logs.html.php
@@ -18,7 +18,7 @@
- engine == 'gitlab') echo html::a(helper::createLink('ci', "checkCompileStatus", "gitlabOnly=yes"), " ". $lang->compile->refresh, '', "class='btn btn-secondary' id='refreshBtn'");?>
+ engine == 'gitlab') echo html::a(helper::createLink('ci', "checkCompileStatus", "compileID={$build->id}"), " ". $lang->compile->refresh, '', "class='btn btn-secondary' id='refreshBtn'");?>
job"), " ". $lang->goback, '', "class='btn btn-secondary'");?>