Silence action can only be used on non-priviliged users
This commit is contained in:
@@ -101,7 +101,11 @@ class ProfileFormAction extends RedirectingAction
|
||||
parent::handle($args);
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
$this->handlePost();
|
||||
try {
|
||||
$this->handlePost();
|
||||
} catch (AlreadyFulfilledException $e) {
|
||||
// 'tis alright
|
||||
}
|
||||
$this->returnToPrevious();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user