From c42f7862f76cce8006443d86b8d0ce6f3e56acf4 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Fri, 12 Jan 2018 15:08:14 +0100
Subject: [PATCH] ci - overview: fix render accept button in phases box

---
 public_html/deployment/classes/project.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php
index f6b88e2b..0bbe9bcc 100644
--- a/public_html/deployment/classes/project.class.php
+++ b/public_html/deployment/classes/project.class.php
@@ -3054,9 +3054,9 @@ class project extends base {
             if ($sPhaseImg) {
                 $sAction = $sContinue;
                 if ($this->canAcceptPhase($sLastPhase)) {
-                    $sAction = $this->renderLink("accept", $sLastPhase);
+                    $sAction .= $this->renderLink("accept", $sLastPhase);
                 }
-                $sPhaseImg.='<div class="action">' . $sContinue . $sAction . '</div>';
+                $sPhaseImg.='<div class="action">' . $sAction . '</div>';
             }
             $sLastPhase = $sPhase;
 
-- 
GitLab