diff --git a/include/raumtyp.class.php b/include/raumtyp.class.php index 6aa54254e..ec274df7a 100644 --- a/include/raumtyp.class.php +++ b/include/raumtyp.class.php @@ -68,8 +68,7 @@ class raumtyp extends basis_db $raumtyp_obj->beschreibung = $row->beschreibung; $raumtyp_obj->raumtyp_kurzbz = $row->raumtyp_kurzbz; - $raumtyp_obj->aktiv = $row->aktiv; - + $raumtyp_obj->aktiv = $this->db_parse_bool($row->aktiv); $this->result[] = $raumtyp_obj; } @@ -101,8 +100,7 @@ class raumtyp extends basis_db { $this->beschreibung = $row->beschreibung; $this->raumtyp_kurzbz = $row->kurzbz; - $this->aktiv = $row->aktiv; - + $this->aktiv = $this->db_parse_bool($row->aktiv); } else { diff --git a/rdf/raumtyp.rdf.php b/rdf/raumtyp.rdf.php index 56da76b5b..1f7289747 100644 --- a/rdf/raumtyp.rdf.php +++ b/rdf/raumtyp.rdf.php @@ -56,11 +56,11 @@ foreach ($raumtypDAO->result as $rt) { ?> - - raumtyp_kurzbz ?> - beschreibung ?> - aktiv=='t'?'true':'false') ?> - + + raumtyp_kurzbz ?> + beschreibung ?> + aktiv ? "true" : "false") ?> +