diff options
Diffstat (limited to 'actions/unsubscribe.php')
-rw-r--r-- | actions/unsubscribe.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/unsubscribe.php b/actions/unsubscribe.php index dbb4e4153..6bb10d448 100644 --- a/actions/unsubscribe.php +++ b/actions/unsubscribe.php @@ -87,7 +87,7 @@ class UnsubscribeAction extends Action $result = subs_unsubscribe_to($user, $other); - if ($result != true) { + if (is_string($result)) { $this->clientError($result); return; } |