Bug #1252 ยป 0055-Set-default-ui_name-for-action-without-section.patch
server/ruleset/ruleload.c | ||
---|---|---|
}
|
||
}
|
||
if (ok) {
|
||
action_iterate(act) {
|
||
struct action *paction = action_by_number(act);
|
||
if (!paction->configured) {
|
||
sz_strlcpy(paction->ui_name, action_ui_name_default(act));
|
||
}
|
||
} action_iterate_end;
|
||
}
|
||
if (ok) {
|
||
sec = secfile_sections_by_name_prefix(file, ENABLER_SECTION_PREFIX);
|
||