Fix check for category expression

This commit is contained in:
Markus Ankenbrand 2016-09-08 16:57:43 +02:00
parent 6781f05257
commit de71c06031

View file

@ -48,7 +48,7 @@
<div class="clear"></div> <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> <table>
<tr> <tr>
<th>Land</th> <th>Land</th>