We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0323ca5c authored by Evan Prodromou's avatar Evan Prodromou

correctly return 0 for zero followers

darcs-hash:20080722164129-84dde-be64fd4d2fff5951f2d182e44ec1eb457bddd51c.gz
parent 905ba499
......@@ -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') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment