diff --git a/plugins/OStatus/actions/groupsalmon.php b/plugins/OStatus/actions/groupsalmon.php index ee82e627d4..921221498f 100644 --- a/plugins/OStatus/actions/groupsalmon.php +++ b/plugins/OStatus/actions/groupsalmon.php @@ -90,7 +90,7 @@ class GroupsalmonAction extends SalmonAction try { $this->saveNotice(); - } catch AlreadyFulfilledException($e) { + } catch (AlreadyFulfilledException $e) { return; } } diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php index c625567860..5d2a92d99b 100644 --- a/plugins/OStatus/actions/usersalmon.php +++ b/plugins/OStatus/actions/usersalmon.php @@ -97,7 +97,7 @@ class UsersalmonAction extends SalmonAction try { $this->saveNotice(); - } catch AlreadyFulfilledException($e) { + } catch (AlreadyFulfilledException $e) { return; } }