Filter hidden Contacts from FAS

This commit is contained in:
Andreas Österreicher
2018-05-23 07:55:08 +02:00
parent 32b63b39f7
commit 4775908685
2 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -73,7 +73,8 @@ else
function draw_rdf($row) function draw_rdf($row)
{ {
global $rdf_url; global $rdf_url;
if($row->kontakttyp == 'hidden')
return;
echo ' echo '
<RDF:li> <RDF:li>
<RDF:Description id="'.$row->kontakt_id.'" about="'.$rdf_url.'/'.$row->kontakt_id.'" > <RDF:Description id="'.$row->kontakt_id.'" about="'.$rdf_url.'/'.$row->kontakt_id.'" >
@@ -93,4 +94,4 @@ function draw_rdf($row)
} }
?> ?>
</RDF:Seq> </RDF:Seq>
</RDF:RDF> </RDF:RDF>
+3 -1
View File
@@ -49,6 +49,8 @@ if($kontakt->getKontakttyp())
{ {
foreach ($kontakt->result as $row) foreach ($kontakt->result as $row)
{ {
if($row->kontakttyp == 'hidden')
continue;
echo ' echo '
<RDF:li> <RDF:li>
<RDF:Description id="'.$row->kontakttyp.'" about="'.$rdf_url.'/'.$row->kontakttyp.'" > <RDF:Description id="'.$row->kontakttyp.'" about="'.$rdf_url.'/'.$row->kontakttyp.'" >
@@ -65,4 +67,4 @@ else
} }
?> ?>
</RDF:Seq> </RDF:Seq>
</RDF:RDF> </RDF:RDF>