From 200d821e40d08c8acd1aa042b253d4d773765bc6 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 9 Feb 2009 18:16:06 +0000 Subject: 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 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/entities.php') 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); } -- cgit v1.2.3