回答編集履歴

1

修正

2016/01/21 02:35

投稿

coba-coba
coba-coba

スコア1409

test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  $options = array('conditions' => array('Product.id' => $id, 'Product.user_id' => $user_id));
8
8
 
9
- if (!$this->request->data = $this->Product->find('first', $options)) {
9
+ if (!$this->Product->find('first', $options)) {
10
10
 
11
11
  $this->Session->setFlash(__('ユーザーIDが違います。'));
12
12