From 9e2f562a29769aef40f92648f2de73edfeb070ba Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Thu, 28 Jul 2022 14:27:07 +0200
Subject: [PATCH] fix: number of branches

---
 public_html/deployment/classes/project.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php
index af26e3be..6f12c363 100644
--- a/public_html/deployment/classes/project.class.php
+++ b/public_html/deployment/classes/project.class.php
@@ -3326,7 +3326,7 @@ class project extends base {
                         ' . t("repositoryinfos") . '<br>
                         <strong>
                         ' . $this->_aPrjConfig["build"]["type"] . '</strong> ' . preg_replace('/.*\@(.*):.*/', '($1)', $this->_aPrjConfig["build"]["url"])
-                    . ': <strong title="' . t('branch-select') . '">' . $aBranches . '</strong>'
+                    . ': <strong title="' . t('branch-select') . '">' . count($aBranches) . '</strong>'
                     . '<br>
                     </div>
                     <div>
-- 
GitLab