[WEB] fix undefined elements (#3651)

* [WEB] $lang is not used in this context

* [Web] $stmt variable is not used

* [WEB] fix undefined function

* [WEB] remove undefined variable $display
master
Miro Rauhala 2020-07-12 11:15:12 +03:00 committed by GitHub
parent bae250cc81
commit bbf1472424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -551,7 +551,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
break;
default:
$data = rsetting('details', $object);
$data = rsettings('details', $object);
process_get_return($data);
break;
}

View File

@ -461,7 +461,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
<div class="table-responsive">
<table class="table table-striped" id="recipient_map_table"></table>
</div>
<div class="mass-actions-mailbox" style="display: <?php echo $display; ?>">
<div class="mass-actions-mailbox">
<div class="btn-group">
<a class="btn btn-sm btn-default" id="toggle_multi_select_all" data-id="recipient_map" href="#"><span class="glyphicon glyphicon-check" aria-hidden="true"></span> <?=$lang['mailbox']['toggle_all'];?></a>
<a class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" href="#"><?=$lang['mailbox']['quick_actions'];?> <span class="caret"></span></a>