|
|
| version 1.32, 2024/10/28 00:33:41 | version 1.35, 2024/11/04 03:53:25 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b array parser class. | Parser: @b array parser class. |
| Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) |
| Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| 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"); |