Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Nov 7, 2024
1 parent 55bae1d commit b4ab064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/class-bread-content-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function __construct(object $mpdf, array $options, array $result_meetings, Bread
$this->mpdf->DefHTMLFooterByName('Meeting2Footer', '<div style="text-align:center;font-size:' . $this->options['pagenumbering_font_size'] . 'pt;font-style: italic;">' . $this->options['meeting2_footer'] . '</div>');
}
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'] . ";";
Expand Down
2 changes: 1 addition & 1 deletion public/class-bread-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<script type='text/javascript'>\n";
echo "document.body.innerHTML = ''";
echo "</script>";
Expand Down

0 comments on commit b4ab064

Please sign in to comment.