Skip to content

Commit

Permalink
Merge pull request #544 from norv/like_db
Browse files Browse the repository at this point in the history
Likes subs fix
  • Loading branch information
norv committed Jun 17, 2013
2 parents 8d27ea1 + f09d02b commit 5cb0e53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/subs/Likes.subs.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function lastLikeOn($id_liker)
$request = $db->query('', '
SELECT action
FROM {db_prefix}log_likes
WHERE id_executor = {int:current_member}',
WHERE id_member = {int:current_member}',
array(
'current_member' => $id_liker,
)
Expand Down Expand Up @@ -264,4 +264,4 @@ function increaseTopicLikes($id_topic, $direction)
'current_topic' => $id_topic,
)
);
}
}

0 comments on commit 5cb0e53

Please sign in to comment.