From b4ab064818df5bc7c7a0fe540719430e3ad78cf8 Mon Sep 17 00:00:00 2001
From: otrok7 <50595291+otrok7@users.noreply.github.com>
Date: Thu, 7 Nov 2024 23:44:45 +0100
Subject: [PATCH] fixes
---
public/class-bread-content-generator.php | 2 +-
public/class-bread-public.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/class-bread-content-generator.php b/public/class-bread-content-generator.php
index 216f503..1924276 100644
--- a/public/class-bread-content-generator.php
+++ b/public/class-bread-content-generator.php
@@ -126,7 +126,7 @@ function __construct(object $mpdf, array $options, array $result_meetings, Bread
$this->mpdf->DefHTMLFooterByName('Meeting2Footer', '
' . $this->options['meeting2_footer'] . '
');
}
if (!empty($this->options['pageheader_content'])) {
- $data = $this->standard_shortcode_replacement('pageheader_content');
+ $data = $this->standard_shortcode_replacement('pageheader');
$header_style = "vertical-align: top; text-align: center; font-weight: bold;margin-top:3px;margin-bottom:3px;";
$header_style .= "color:" . $this->options['pageheader_textcolor'] . ";";
$header_style .= "background-color:" . $this->options['pageheader_backgroundcolor'] . ";";
diff --git a/public/class-bread-public.php b/public/class-bread-public.php
index 6fbfdd8..ebc0471 100644
--- a/public/class-bread-public.php
+++ b/public/class-bread-public.php
@@ -166,7 +166,7 @@ public function bmlt_meeting_list($atts = null, $content = null)
$result = Bread_Bmlt::get_configured_root_server_request("client_interface/json/?switcher=GetSearchResults$services&sort_keys=$sort_keys&get_used_formats&formats[]=" . $this->options['used_format_1'] . $select_language);
}
- if ($result_meetings == null) {
+ if ($result == null) {
echo "";