What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Bug Fixed Link "Warn" on review page is not displayed

glukomonter

New Member
Even user have sufficient permissions link "warn" on review page for review is not displayed.
In function canWarnRating (file /Model/Rating.php) you are using variables $document['user_id'], $document['is_admin'] and $document['is_moderator'] in conditions. I think in this function you should using array $rating, not $document, i.e. variables $rating['user_id'], $rating['is_admin'] and $rating['is_moderator'].
 
You are maybe right, I'll analyse thanks for reporting and providing detailed clues.
 
Top