Please sign in to comment.
Flash messages stack and in cases can result in duplicate messages wh…
…en a message is set in AppController::beforeFilter then a controller receives a post and has to redirect. The message will be set twice. If a duplicate => false is set, and the message is already in the array, it will not be added.
- Loading branch information...
Showing with 17 additions and 1 deletion.