From 093c70eeb46da0d64cbd344e15a14ca0d335e361 Mon Sep 17 00:00:00 2001 From: Stefan Puraner Date: Thu, 31 Mar 2016 11:57:50 +0200 Subject: [PATCH] fixed bugs --- include/lehrveranstaltung.class.php | 2 +- include/studienplan.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/lehrveranstaltung.class.php b/include/lehrveranstaltung.class.php index 2173a1b23..6c163e8df 100755 --- a/include/lehrveranstaltung.class.php +++ b/include/lehrveranstaltung.class.php @@ -1299,7 +1299,7 @@ class lehrveranstaltung extends basis_db /** * Generiert die Subtrees des Lehrveranstaltungstrees */ - protected function getLehrveranstaltungTreeChilds($studienplan_lehrveranstaltung_id) + public function getLehrveranstaltungTreeChilds($studienplan_lehrveranstaltung_id) { $childs = array(); foreach ($this->lehrveranstaltungen as $row) diff --git a/include/studienplan.class.php b/include/studienplan.class.php index 17611725c..61325f6c4 100644 --- a/include/studienplan.class.php +++ b/include/studienplan.class.php @@ -609,8 +609,8 @@ class studienplan extends basis_db $this->updateamum = $row->updateamum; $this->updatevon = $row->updatevon; $this->sort = $row->sort; - $this->curriculum = $row->curriculum; - $this->export = $row->export; + $this->curriculum = $this->db_parse_bool($row->curriculum); + $this->export = $this->db_parse_bool($row->export); $this->new=false; return true; }