Remove var_dumps
This commit is contained in:
parent
5f683c7e44
commit
2c5e520459
1 changed files with 0 additions and 5 deletions
|
|
@ -76,14 +76,9 @@
|
||||||
<?php $location = get_field( 'ort' ); ?>
|
<?php $location = get_field( 'ort' ); ?>
|
||||||
<?php $locations = get_field( 'orte' ); ?>
|
<?php $locations = get_field( 'orte' ); ?>
|
||||||
<?php
|
<?php
|
||||||
echo var_dump($location);
|
|
||||||
echo "<br>";
|
|
||||||
echo var_dump($locations);
|
|
||||||
echo "<br>";
|
|
||||||
if ( $location && (!$locations || count($locations)==0 || $locations[0]['lat']=='') ) {
|
if ( $location && (!$locations || count($locations)==0 || $locations[0]['lat']=='') ) {
|
||||||
$locations = [$location];
|
$locations = [$location];
|
||||||
}
|
}
|
||||||
echo var_dump($locations);
|
|
||||||
?>
|
?>
|
||||||
<?php if ( $locations && count($locations)>0 && $locations[0]['lat']!='' ) : ?>
|
<?php if ( $locations && count($locations)>0 && $locations[0]['lat']!='' ) : ?>
|
||||||
<div class="post-meta">
|
<div class="post-meta">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue