Skip to content

Commit

Permalink
Merge pull request #119 from NetCommons3/akagane99-patch-1
Browse files Browse the repository at this point in the history
fix: 掲示板の記事編集でキャンセルするとログアウトする不具合対応
  • Loading branch information
akagane99 committed Jan 30, 2019
2 parents ac7bbf4 + 8316b21 commit 236629f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion View/Elements/BbsArticles/edit_form.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
array('action' => 'view', 'key' => $key)
);
} elseif ($this->params['action'] === 'edit') {
$key = isset($currentBbsArticle['BbsArticle']['key'])
$key = isset($this->request->data['BbsArticle']['key'])
? $this->request->data['BbsArticle']['key']
: null;
$cancelUrl = NetCommonsUrl::blockUrl(
Expand Down

0 comments on commit 236629f

Please sign in to comment.