回答編集履歴
1
修正
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->
|
9
|
+
if (!$this->Product->find('first', $options)) {
|
10
10
|
|
11
11
|
$this->Session->setFlash(__('ユーザーIDが違います。'));
|
12
12
|
|