Skip to content

Commit e8fc151

Browse files
authored
Update controller.php
1 parent f299033 commit e8fc151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crud/default/controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function actionCreate()
169169
*/
170170
public function actionDelete()
171171
{
172-
$id = Yii::$app->request->post('id');
172+
$id = Yii::$app->request->get('id');
173173
if (!$id) {
174174
self::error('Send id');
175175
return;

0 commit comments

Comments
 (0)