_T("Member ID cannot ben null calling edit route!")
);
} elseif ($action === 'add' && $id !== null) {
- return $response
+ return $response
->withStatus(301)
->withHeader('Location', $this->router->pathFor('editmember', ['action' => 'add']));
}
_T("Transaction ID cannot ben null calling edit route!")
);
} elseif ($action === 'add' && $trans_id !== null) {
- return $response
+ return $response
->withStatus(301)
->withHeader('Location', $this->router->pathFor('transaction', ['action' => 'add']));
}