summaryrefslogtreecommitdiff
path: root/views/mods/mod_statistics
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-09-27 18:33:06 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-09-27 18:33:06 +0200
commit4830a5a5db2f9bcaa4060377143dc2d5b8c1af09 (patch)
tree8e52057c17d5c2c4322e577b44fc8967adf0cd67 /views/mods/mod_statistics
parent25b3c5ffe9d6585cebfe9b413ca5f3ccb5fb4247 (diff)
Warnungen (K31), AltBody nur für Shopmails, eindeutige IDs im Checkout (T5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/mods/mod_statistics')
-rw-r--r--views/mods/mod_statistics/simplefilter.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/mods/mod_statistics/simplefilter.phtml b/views/mods/mod_statistics/simplefilter.phtml
index 328bf34..9623431 100644
--- a/views/mods/mod_statistics/simplefilter.phtml
+++ b/views/mods/mod_statistics/simplefilter.phtml
@@ -22,7 +22,7 @@
}
<?php
- if ($this->view['filter']['related'] > 0)
+ if (($this->view['filter']['related'] ?? 0) > 0)
{
?>
jQuery("#filter-related").val("<?php echo $this->view['filter']['related']; ?>");
@@ -65,8 +65,8 @@
<div class="customfilter" style="display:none; width:100%;">
- <?php echo wpsg_drawForm_Date('filter[day][0]', __('von', 'wpsg'), $this->view['filter']['day'][0]['d'].'.'.$this->view['filter']['day'][0]['m'].'.'.$this->view['filter']['day'][0]['Y'], array('time' => false)); ?>
- <?php echo wpsg_drawForm_Date('filter[day][1]', __('bis', 'wpsg'), $this->view['filter']['day'][1]['d'].'.'.$this->view['filter']['day'][1]['m'].'.'.$this->view['filter']['day'][1]['Y'], array('time' => false)); ?>
+ <?php echo wpsg_drawForm_Date('filter[day][0]', __('von', 'wpsg'), (isset($this->view['filter']['day'][0]) ? $this->view['filter']['day'][0]['d'].'.'.$this->view['filter']['day'][0]['m'].'.'.$this->view['filter']['day'][0]['Y'] : ''), array('time' => false)); ?>
+ <?php echo wpsg_drawForm_Date('filter[day][1]', __('bis', 'wpsg'), (isset($this->view['filter']['day'][1]) ? $this->view['filter']['day'][1]['d'].'.'.$this->view['filter']['day'][1]['m'].'.'.$this->view['filter']['day'][1]['Y'] : ''), array('time' => false)); ?>
<?php /* if (isset($this->view['filter']['day'][0])) { ?>