質問編集履歴

1

間違い修正

2019/09/20 16:56

投稿

erierin
erierin

スコア5

test CHANGED
File without changes
test CHANGED
@@ -122,7 +122,7 @@
122
122
 
123
123
  $hotelname = get_hotelname_from_id($temp_body->tour[$i]->id);
124
124
 
125
- array_merge($temp_body->tour[$i], array('hotel_name'=> $hotelname));
125
+ $temp_body->tour[$i]=array_merge($temp_body->tour[$i], array('hotel_name'=> $hotelname));
126
126
 
127
127
  }
128
128
 
@@ -138,7 +138,7 @@
138
138
 
139
139
  ```
140
140
 
141
- 変更されせん。(*´-ω-`)・・・ナゼダ
141
+ NULLになってしいます。(*´-ω-`)・・・ナゼダ
142
142
 
143
143
 
144
144