summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 22:09:04 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 22:09:04 -0700
commitbef643352d573235aedbdd93125e93c42edb306b (patch)
tree2dd866db7e00a54d8b4735c923fdcc2d76df8b97
parentee8dd62038993c184b704df08a3ab1fbcf0c04ac (diff)
return count from show
-rw-r--r--lib/profilelist.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index bd866bed7..a604230f8 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -63,8 +63,9 @@ class ProfileList extends Widget
function show()
{
$this->startList();
- $this->showProfiles();
+ $cnt = $this->showProfiles();
$this->endList();
+ return $cnt;
}
function startList()