From e13c41969aaa2091d48d47e8acc7fab68a82e8eb Mon Sep 17 00:00:00 2001 From: kindlm Date: Fri, 13 Nov 2015 20:46:13 +0100 Subject: [PATCH] =?UTF-8?q?Insertvon-User=20in=20Funktion=20getBewerbungst?= =?UTF-8?q?oolNotizen=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/notiz.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/notiz.class.php b/include/notiz.class.php index eac9f5434..0edb271a0 100644 --- a/include/notiz.class.php +++ b/include/notiz.class.php @@ -389,8 +389,9 @@ class notiz extends basis_db public.tbl_notiz LEFT JOIN public.tbl_notizzuordnung USING(notiz_id) WHERE person_id = ' . $this->db_add_param($person_id, FHC_INTEGER) . - ' AND insertvon = ' . $this->db_add_param('Bewerbungstool') . - ' ORDER BY notiz_id'; + ' AND (insertvon = ' . $this->db_add_param('online'.$person_id) .' OR insertvon = ' . $this->db_add_param('online_notiz'.$person_id).') + + ORDER BY notiz_id'; if($result = $this->db_query($qry)) {