fixed rating bugs introduced with commit c32a4b06

This commit is contained in:
following
2012-08-27 14:15:16 +02:00
parent 9fb4322bfc
commit 9bc361c3e3
6 changed files with 15 additions and 6 deletions
+1
View File
@@ -419,6 +419,7 @@ class cache
}
function addRecommendation($nUserId)
{
// rating_date will be set to NOW() by Insert-trigger
sql("INSERT IGNORE INTO `cache_rating` (`cache_id`, `user_id`) VALUES ('&1', '&2')", $this->nCacheId, $nUserId);
}
function removeRecommendation($nUserId)