Fix check for category expression
This commit is contained in:
parent
6781f05257
commit
de71c06031
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php if ( in_array('Urlaub', get_categories()) : ?>
|
||||
<?php if ( in_array('Urlaub', array_map('map_to_name', get_the_category())) ) : ?>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Land</th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue