*
* @return boolean success flag
*/
- function prepare($args)
+ function prepare(array $args = array())
{
parent::prepare($args);
*
* @return void
*/
- function handle($args)
+ function handle()
{
- parent::handle($args);
+ parent::handle();
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
- $this->handlePost();
+ try {
+ $this->handlePost();
+ } catch (AlreadyFulfilledException $e) {
+ // 'tis alright
+ }
$this->returnToPrevious();
}
}