From 7c0fbc6411951166cd4bf157be4cec5f8da8bfc6 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 17 Nov 2023 08:33:46 +0100
Subject: [PATCH] oh no - better add htmlguielements class there

---
 public_html/deployment/classes/project.class.php     | 3 +++
 public_html/deployment/classes/project_gui.class.php | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php
index cd97e052..5d7eb311 100644
--- a/public_html/deployment/classes/project.class.php
+++ b/public_html/deployment/classes/project.class.php
@@ -13,6 +13,8 @@ require_once 'messenger.class.php';
 require_once 'build_base.class.php';
 require_once 'rollout_base.class.php';
 
+require_once 'htmlguielements.class.php';
+
 /* ######################################################################
 
   IML DEPLOYMENT
@@ -123,6 +125,7 @@ class project extends base {
      */
     public function __construct($sId = false) {
         $this->oUser = new user();
+        $this->_oHtml = new htmlguielements();
         $this->_readConfig();
         if ($sId) {
             $this->setProjectById($sId);
diff --git a/public_html/deployment/classes/project_gui.class.php b/public_html/deployment/classes/project_gui.class.php
index 8f1badbb..20e4ac28 100644
--- a/public_html/deployment/classes/project_gui.class.php
+++ b/public_html/deployment/classes/project_gui.class.php
@@ -24,11 +24,11 @@ class projectgui extends project {
     /**
      * constructor
      * @param string $sId  id of the project
-     */
     public function __construct($sId = false) {
         parent::__construct($sId);
         $this->_oHtml = new htmlguielements();
     }
+    */
 
     // ----------------------------------------------------------------------
     // private functions
-- 
GitLab