mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2309 stop ratings redisplaying
change condition for show_filter_ratings
This commit is contained in:
@@ -86,10 +86,8 @@ const prefix_icon = 'gallery-icon-';
|
||||
{/if}
|
||||
};
|
||||
|
||||
{if $SHOW_FILTER_RATINGS and isset($RATING)}
|
||||
var show_filter_ratings = true;
|
||||
{else}
|
||||
var show_filter_ratings = false;
|
||||
{if isset($SHOW_FILTER_RATINGS)}
|
||||
var show_filter_ratings = {if $SHOW_FILTER_RATINGS}{$SHOW_FILTER_RATINGS}{else}false{/if};
|
||||
{/if}
|
||||
|
||||
{/footer_script}
|
||||
|
||||
Reference in New Issue
Block a user