diff options
-rw-r--r-- | actions/twitapifriendships.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index eaef6966c..0253cb8e5 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -96,7 +96,7 @@ class TwitapifriendshipsAction extends TwitterapiAction { $sub->subscriber = $user->id; $sub->subscribed = $other->id; - if ($sub->fetch(TRUE)) { + if ($sub->find(TRUE)) { $sub->query('BEGIN'); $sub->delete(); $sub->query('COMMIT'); |