Skip to content

Commit

Permalink
Honor redirect param if the event is successful.
Browse files Browse the repository at this point in the history
As proposed in #47.
  • Loading branch information
michael-e committed Apr 10, 2013
1 parent 025b0b3 commit b32220c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions events/event.storage_action.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ protected function execute() {
}
}
else {
if(isset($_REQUEST['redirect'])) redirect($_REQUEST['redirect']);
$result->setAttribute('result', 'success');
}

Expand Down

0 comments on commit b32220c

Please sign in to comment.