fix if in header and declare correctly a value
This commit is contained in:
parent
c26db22fa5
commit
dc41e1c377
|
@ -352,10 +352,7 @@ echo sprintf('<div id="header_table" class="header_table_%s">', $menuTypeClass);
|
|||
}
|
||||
|
||||
// Button for feedback pandora.
|
||||
if (enterprise_installed() && ( (!isset($config['activate_feedback'])
|
||||
|| (isset($config['activate_feedback'])
|
||||
&& $config['activate_feedback'] === true )) )
|
||||
) {
|
||||
if (enterprise_installed() && $config['activate_feedback'] !== false) {
|
||||
$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>';
|
||||
|
|
|
@ -3335,7 +3335,7 @@ function config_process_config()
|
|||
}
|
||||
|
||||
if (!isset($config['activate_feedback'])) {
|
||||
config_update_value('activate_feedback', 1);
|
||||
config_update_value('activate_feedback', true);
|
||||
}
|
||||
|
||||
if (!isset($config['api_password'])) {
|
||||
|
|
Loading…
Reference in New Issue