aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index b80bd9f70..3846c98b2 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -633,6 +633,21 @@
'entity' => $entity,
'full' => $full
), $bypass, $debug);
+ }
+ if ($full) // Marcus Povey 20090616 : Speculative and low impact approach for fixing #964
+ {
+ $annotations = trigger_plugin_hook('annotations:view', $entity_class, array(
+ 'entity' => $entity,
+ 'full' => $full,
+
+ // We already know this, so pass it on.
+ 'type' => $entity_type,
+ 'subtype' => $subtype
+ )
+ );
+
+ if ($annotations)
+ $contents .= $annotations;
}
return $contents;
}