|
|
| version 1.31, 2024/10/28 00:18:25 | version 1.34, 2024/10/28 13:28:26 |
|---|---|
| Line 53 static void _copy_or_add(Request& r, Met | Line 53 static void _copy_or_add(Request& r, Met |
| self_array.put(i.index(), i.value()); | self_array.put(i.index(), i.value()); |
| } | } |
| } else { | } else { |
| self_array.append(src->array()); | self_array.copy(src->array()); |
| return; | |
| } | } |
| } else { | } else { |
| HashStringValue* src_hash=vsrc.as_hash("param must be array or"); | HashStringValue* src_hash=vsrc.as_hash("param must be array or"); |
| Line 964 static void _set(Request& r, MethodParam | Line 965 static void _set(Request& r, MethodParam |
| } else { | } else { |
| for(ArrayValue::Iterator i(array); i; i.next() ){ | for(ArrayValue::Iterator i(array); i; i.next() ){ |
| if(i.value() && !(pos--)){ | if(i.value() && !(pos--)){ |
| array.put(pos, &r.process(params[1])); | array.put(i.index(), &r.process(params[1])); |
| return; | return; |
| } | } |
| } | } |