diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-27 15:43:47 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-27 15:43:47 +0000 |
commit | 437e4e00ec2bb9ff209bed2a772aa52f5b92f97f (patch) | |
tree | 5ccfe18e95672939cfab54f5957872b0c6dac858 /engine | |
parent | 7676186f7b4bb6a891f08175dd22110c3885316b (diff) | |
download | elgg-437e4e00ec2bb9ff209bed2a772aa52f5b92f97f.tar.gz elgg-437e4e00ec2bb9ff209bed2a772aa52f5b92f97f.tar.bz2 |
Bug fix for previous.
git-svn-id: https://code.elgg.org/elgg/trunk@1188 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/elgglib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index f810cc8ca..74fec6712 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -489,7 +489,7 @@ * @return int Number of comments
*/
function elgg_count_comments($entity) {
- return count_annotations($entity_guid, "", "", $name);
+ return count_annotations($entity->getGUID(), "", "", "generic_comment");
}
/**
|