Should fix the like problem

This commit is contained in:
Domovoy 2012-08-11 19:23:18 +02:00
parent 9b6e99a6ba
commit 5084cff8f4

View file

@ -117,9 +117,6 @@ class Item extends BaseObject {
if ($tag!="") $tags[] = bbcode($tag); if ($tag!="") $tags[] = bbcode($tag);
} }
like_puller($a,$item,$alike,'like');
like_puller($a,$item,$dlike,'dislike');
$like = ((x($alike,$item['uri'])) ? format_like($alike[$item['uri']],$alike[$item['uri'] . '-l'],'like',$item['uri']) : ''); $like = ((x($alike,$item['uri'])) ? format_like($alike[$item['uri']],$alike[$item['uri'] . '-l'],'like',$item['uri']) : '');
$dislike = ((x($dlike,$item['uri'])) ? format_like($dlike[$item['uri']],$dlike[$item['uri'] . '-l'],'dislike',$item['uri']) : ''); $dislike = ((x($dlike,$item['uri'])) ? format_like($dlike[$item['uri']],$dlike[$item['uri'] . '-l'],'dislike',$item['uri']) : '');