Skip to content
Permalink
Browse files

Fix bug determining whether sort-by rating appears in catalogue categ…

…ory view screens
  • Loading branch information...
chrisgraham committed Jul 2, 2019
1 parent 2a57cd0 commit 0c57eeac3af6ddc3b96178393b8a203854320532
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/catalogues.php
@@ -387,7 +387,7 @@ function render_catalogue_category_entry_buildup($category_id, $catalogue_name,
if (get_option('is_on_rating') == '0') {
$has_ratings = false;
} else {
if (is_null($entries)) {
if (!is_null($entries)) {
$has_ratings = false;
foreach ($entries as $entry) {
if ($entry['allow_rating'] == 1) {

0 comments on commit 0c57eea

Please sign in to comment.
You can’t perform that action at this time.