Remove var_dumps

This commit is contained in:
Markus Ankenbrand 2024-10-30 00:03:25 +01:00
parent 5f683c7e44
commit 2c5e520459

View file

@ -76,14 +76,9 @@
<?php $location = get_field( 'ort' ); ?>
<?php $locations = get_field( 'orte' ); ?>
<?php
echo var_dump($location);
echo "<br>";
echo var_dump($locations);
echo "<br>";
if ( $location && (!$locations || count($locations)==0 || $locations[0]['lat']=='') ) {
$locations = [$location];
}
echo var_dump($locations);
?>
<?php if ( $locations && count($locations)>0 && $locations[0]['lat']!='' ) : ?>
<div class="post-meta">