Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tyoshii committed May 2, 2016
1 parent 8c5a192 commit aa28a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel/app/classes/controller/team/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function action_player()
if ($player_id = $this->param('player_id')) {
// 自分自身か、チーム管理者でなかったら、権限なし
if ($this->_player->id !== $player_id and !$this->_team_admin) {
Session::get_error('権限がありません');
Session::set_flash('error', '権限がありません');

return Response::redirect($this->_team->href);
}
Expand Down

0 comments on commit aa28a9b

Please sign in to comment.