diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-25 21:39:17 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-25 21:39:17 +0000 |
commit | 586c6e88802c3ffa267c51cbef8a354e756b585d (patch) | |
tree | 1eb1d76e85034ee8ef47c457e18f8d4fe20ad54b /engine/lib/elgglib.php | |
parent | abcc9dc582242ccb32e68b0a2cfe84f79f3e5f5e (diff) | |
download | elgg-586c6e88802c3ffa267c51cbef8a354e756b585d.tar.gz elgg-586c6e88802c3ffa267c51cbef8a354e756b585d.tar.bz2 |
Cleaned up the likes interface a bit.
git-svn-id: http://code.elgg.org/elgg/trunk@5508 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 4 |
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; } } |