From 453fc175c832ac882759836e71ca6e0fb21aad7f Mon Sep 17 00:00:00 2001 From: ma0048 Date: Thu, 6 Nov 2025 13:09:57 +0100 Subject: [PATCH] pep tags einschraenken --- application/core/Tag_Controller.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/core/Tag_Controller.php b/application/core/Tag_Controller.php index 5b9bac6c5..eb6afa5dd 100644 --- a/application/core/Tag_Controller.php +++ b/application/core/Tag_Controller.php @@ -42,6 +42,8 @@ class Tag_Controller extends FHCAPI_Controller if (is_array($readonly_tags) && !isEmptyArray($readonly_tags)) { + $allowed_tags = array_keys($readonly_tags); + $readonly_tags = $this->_filterTag($readonly_tags, true); foreach ($readonly_tags as $key => $tag) @@ -57,6 +59,8 @@ class Tag_Controller extends FHCAPI_Controller ELSE FALSE END as readonly "); + + $this->NotizModel->db->where_in('tbl_notiz_typ.typ_kurzbz', $allowed_tags); } $this->NotizModel->addSelect(