Skip to content

Commit

Permalink
Fix for PLG_typeLikesEnabled
Browse files Browse the repository at this point in the history
For feature #1036
  • Loading branch information
eSilverStrike committed May 5, 2022
1 parent da1a6b0 commit 4f7536b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/lib-plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -4037,6 +4037,7 @@ function PLG_typeLikesEnabled($type, $sub_type, $id)

if ($_CONF['likes_enabled']) {
$args[1] = $sub_type;
$args[2] = $id;
$function = 'plugin_likesenabled_' . $type;

$retval = PLG_callFunctionForOnePlugin($function,$args);
Expand Down

0 comments on commit 4f7536b

Please sign in to comment.