Fixed helperLikesHtml()

S

Syndol

Guest
In Template/Helper/Core.php
Function helperLikesHtml(), line 425:
$users = array_values($users);

Should be above:
if (count($users) == 3)
{
unset($users[2]);
}

Otherwise when there are exactly 4 likes and you are the second one, the last displayed like is not in order.
 
Top