diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index 818cb762188ab2781f428479564783ac2ce12ec6..cd97e0520f483b1a236349ca225ae7d60c4d0e9d 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -123,7 +123,6 @@ 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 c7b9d73346e1dac18871bcbbba71eca95a932e1e..8f1badbb2f3ab943a8ceff3b686d2b468c8da8dc 100644 --- a/public_html/deployment/classes/project_gui.class.php +++ b/public_html/deployment/classes/project_gui.class.php @@ -21,6 +21,15 @@ require_once 'htmlguielements.class.php'; // class project { 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 // ----------------------------------------------------------------------