質問編集履歴

1

追記

2015/08/20 03:42

投稿

amakusa
amakusa

スコア176

test CHANGED
File without changes
test CHANGED
@@ -158,7 +158,7 @@
158
158
 
159
159
  $reportId = $this->request->data['report_id'];
160
160
 
161
- $report = $this->Report->find('all', array('conditions' => array("id" => $reportId)));//そのreportsの中にあるさっきのidがあるドキュメントの情報を取得
161
+ $report = $this->Report->find('all', array('conditions' => array("id" => $reportId)));
162
162
 
163
163
  $report_obj = $report[0]["Report"];
164
164
 
@@ -204,7 +204,7 @@
204
204
 
205
205
  $requestId = $this->request->data['request_id'];
206
206
 
207
- $request = $this->Request->find('all', array('conditions' => array("id" => $requestId)));//そのreportsの中にあるさっきのidがあるドキュメントの情報を取得
207
+ $request = $this->Request->find('all', array('conditions' => array("id" => $requestId)));
208
208
 
209
209
  $request_obj = $request[0]["Request"];
210
210
 
@@ -236,7 +236,7 @@
236
236
 
237
237
  $reportId = $this->request->data['report_id'];
238
238
 
239
- $report = $this->Report->find('all', array('conditions' => array("id" => $reportId)));//そのreportsの中にあるさっきのidがあるドキュメントの情報を取得
239
+ $report = $this->Report->find('all', array('conditions' => array("id" => $reportId)));
240
240
 
241
241
  $report_obj = $report[0]["Report"];
242
242
 
@@ -280,7 +280,7 @@
280
280
 
281
281
  $reportId = $this->request->data['report_id'];
282
282
 
283
- $report = $this->Report->find('all', array('conditions' => array("id" => $reportId)));//そのreportsの中にあるさっきのidがあるドキュメントの情報を取得
283
+ $report = $this->Report->find('all', array('conditions' => array("id" => $reportId)));
284
284
 
285
285
  $report_obj = $report[0]["Report"];
286
286
 
@@ -328,7 +328,7 @@
328
328
 
329
329
 
330
330
 
331
- $this->redirect($_SERVER['HTTP_REFERER']); //処理を変更する際に、何も選択せずに変更ボタンを押してしまったときのためのredirect
331
+ $this->redirect($_SERVER['HTTP_REFERER']);
332
332
 
333
333
 
334
334