#10563 Fix config enable feedback

This commit is contained in:
miguel angel rasteu 2023-07-03 10:22:22 +02:00
parent ac92b5979c
commit 8ad4e8261e
2 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ echo sprintf('<div id="header_table" class="header_table_%s">', $menuTypeClass);
}
// Button for feedback pandora.
if (enterprise_installed() && $config['activate_feedback'] !== false) {
if (enterprise_installed() && $config['activate_feedback']) {
$header_feedback = '<div id="feedback-icon-header">';
$header_feedback .= '<div id="modal-feedback-form" class="invisible"></div>';
$header_feedback .= '<div id="msg-header" class="invisible"></div>';

View File

@ -433,7 +433,7 @@ $table->data[$i++][] = html_print_label_input_block(
__('Enable Feedback'),
html_print_checkbox_switch_extended(
'activate_feedback',
1,
true,
$config['activate_feedback'],
false,
'',