mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-25 19:00:03 +03:00
fixes #2309 stop ratings redisplaying
change condition for show_filter_ratings
This commit is contained in:
parent
94148e0323
commit
0cce9ef09d
1 changed files with 2 additions and 4 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue