Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

決済状況一覧画面の一括操作時にエラー #37

Open
Aodrey opened this issue Nov 26, 2020 · 1 comment
Open

決済状況一覧画面の一括操作時にエラー #37

Aodrey opened this issue Nov 26, 2020 · 1 comment

Comments

@Aodrey
Copy link

Aodrey commented Nov 26, 2020

こんにちは。決済状況一覧画面の一括操作プルダウンから選択して決定ボタンを押すときに、最後の項目(一括再オーソリ)を選択していると必ずエラーになります。

Controller\Admin\PaymentStatusController.php の186行目のif節
if (!isset($this->bulkActions[$id])) {
の中に入ってしまうからで、
$bulkActionsのidが1からはじまるためにずれてしまっています。

手元ではこの行を
if (!in_array($id, array_column($this->bulkActions, 'id'))) {
に修正しました。

GitHubでプルリクエストをしたことがなく、自信もないため、どなたか解決していただけますか。よろしくお願いします。

@Aodrey
Copy link
Author

Aodrey commented Dec 3, 2020

#38
にプルリクエストしました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant