aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index e33fdab6f..04e04fbbc 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1012,11 +1012,11 @@ function elgg_view_likes($entity){
if (!($entity instanceof ElggEntity)) {
return false;
}
- if ($likes = trigger_plugin_hook('likes',$entity->getType(),array('entity' => $entity),false)) {
+ if ($likes = trigger_plugin_hook('likes', $entity->getType(), array('entity' => $entity), false)) {
return $likes;
} else {
//display the form
- $likes = elgg_view('likes/forms/edit',array('entity' => $entity));
+ $likes = elgg_view('likes/forms/edit', array('entity' => $entity));
return $likes;
}
}