Skip to content

Commit 3d61b60

Browse files
committed
Fix call when handling POST data
1 parent 577d37f commit 3d61b60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/controllers/Packet/Edit.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function &run(Router &$router, View &$view, array &$args)
6868

6969
if ($router->getRequestMethod() == 'POST')
7070
{
71-
$this->handlePost($router, $model);
71+
$this->handlePost($model);
7272
}
7373

7474
if ($model->error === FormModel::ERROR_SUCCESS)
@@ -78,7 +78,6 @@ public function &run(Router &$router, View &$view, array &$args)
7878
$model->active_user->getId(),
7979
getenv('REMOTE_ADDR'),
8080
json_encode([
81-
'active_user' => $model->active_user,
8281
'edited_packet' => $model->packet,
8382
'products' => $model->products,
8483
])

0 commit comments

Comments
 (0)