Fix category check

This commit is contained in:
Markus Ankenbrand 2016-09-08 17:07:18 +02:00
parent 6ca12c452a
commit fa79a446c8

View file

@ -48,7 +48,7 @@
<div class="clear"></div>
<?php if ( get_the_category[0]['name'] == 'Urlaub' ) : ?>
<?php if ( get_the_category()[0]->name == 'Urlaub' ) : ?>
<table>
<tr>
<th>Land</th>