From: Evan Prodromou Date: Mon, 1 Mar 2010 19:17:25 +0000 (-0500) Subject: Return empty array when no subscriptions to remote X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ef54702008143568afa77c1dda86da530a321d0f;p=quix0rs-gnu-social.git Return empty array when no subscriptions to remote --- diff --git a/lib/oauthstore.php b/lib/oauthstore.php index eabe37f9fa..a6a6de7505 100644 --- a/lib/oauthstore.php +++ b/lib/oauthstore.php @@ -390,7 +390,7 @@ class StatusNetOAuthDataStore extends OAuthDataStore $sub->subscribed = $user->id; if (!$sub->find(true)) { - return 0; + return array(); } /* Since we do not use OMB_Service_Provider’s action methods, there