aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-09 18:16:06 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-09 18:16:06 +0000
commit200d821e40d08c8acd1aa042b253d4d773765bc6 (patch)
tree817d09948121bc391eb61c3c26ffdab22a068397 /engine/lib/entities.php
parent6d3821d6ef360adb892267dbdeeea0eb43ffea05 (diff)
downloadelgg-200d821e40d08c8acd1aa042b253d4d773765bc6.tar.gz
elgg-200d821e40d08c8acd1aa042b253d4d773765bc6.tar.bz2
A single notification is now sent out on forum topic creation.
This also contains an update to $entity->countAnnotations, which no longer requires you to specify the annotation type. git-svn-id: https://code.elgg.org/elgg/trunk@2699 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 8eee20857..c6c0f6fb2 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -393,7 +393,7 @@
*
* @param string $name The type of annotation.
*/
- function countAnnotations($name)
+ function countAnnotations($name = "")
{
return count_annotations($this->getGUID(), "","",$name);
}