mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Revert conversion to array in legacy_filter()
procFilter를 사용하는 레거시 서드파티 자료는 여러 개의 값을 제출할 경우 배열이 아닌 |@|로 구분된 문자열을 기대하므로, 기존 방식으로 전달
This commit is contained in:
parent
2baa4b5369
commit
0d58c9038d
1 changed files with 3 additions and 0 deletions
|
|
@ -423,10 +423,13 @@ function legacy_filter(filter_name, form, module, act, callback, responses, conf
|
|||
|
||||
n = n.replace(/\[\]$/, '');
|
||||
if(params[n]) {
|
||||
params[n] += '|@|' + v;
|
||||
/*
|
||||
if (!Array.isArray(params[n])) {
|
||||
params[n] = [params[n]];
|
||||
}
|
||||
params[n].push(v);
|
||||
*/
|
||||
} else {
|
||||
params[n] = field.value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue