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 "";