mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#11378 Fixed line breaks in text area Web Checks
This commit is contained in:
parent
24d7c51d92
commit
d978d79747
@ -113,7 +113,8 @@ if ($id_policy_module > 0) {
|
||||
$plugin_parameter_split = explode('
', $plugin_parameter);
|
||||
$plugin_parameter_final_split = '';
|
||||
|
||||
foreach ($plugin_parameter_split as $key => $value) {
|
||||
$new_plugin_parameter_split = array_filter($plugin_parameter_split, 'strlen');
|
||||
foreach ($new_plugin_parameter_split as $key => $value) {
|
||||
if (strpos($value, 'http_auth_user') === false && strpos($value, 'http_auth_pass') === false) {
|
||||
$plugin_parameter_final_split .= $value.'
';
|
||||
}
|
||||
@ -317,8 +318,7 @@ foreach ($texts as $code => $text) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(plugin_parameter).val(
|
||||
'task_begin\ncookie 0\nresource 0\ntask_end');
|
||||
$(plugin_parameter).val('task_begin\ncookie 0\nresource 0\ntask_end');
|
||||
|
||||
$('#button-btn_loadbasic').attr('disabled', 'disabled');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user