From de697a42671e3c50106dab29eb108a122753a825 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 14 Oct 2015 14:16:16 -0700 Subject: issue #86 - like/dislike in photos not working --- mod/photos.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index cd293b39d..887f663ca 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -982,13 +982,13 @@ function photos_content(&$a) { $likebuttons = ''; if($can_post || $can_comment) { - $likebuttons = replace_macros($like_tpl,array( - '$id' => $link_item['id'], - '$likethis' => t("I like this \x28toggle\x29"), - '$nolike' => t("I don't like this \x28toggle\x29"), - '$share' => t('Share'), - '$wait' => t('Please wait') - )); + $likebuttons = array( + 'id' => $link_item['id'], + 'likethis' => t("I like this \x28toggle\x29"), + 'nolike' => t("I don't like this \x28toggle\x29"), + 'share' => t('Share'), + 'wait' => t('Please wait') + ); } $comments = ''; -- cgit v1.2.3