summaryrefslogtreecommitdiff
path: root/lib/twitterapi.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/twitterapi.php')
-rw-r--r--lib/twitterapi.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/twitterapi.php b/lib/twitterapi.php
index d27152cbc..b9db78dbc 100644
--- a/lib/twitterapi.php
+++ b/lib/twitterapi.php
@@ -233,10 +233,10 @@ class TwitterapiAction extends Action {
$count = $sub->find();
if ($count > 0) {
- return $count;
+ return $count - 1;
+ } else {
+ return 0;
}
-
- return NULL;
}
function init_document($type='xml') {