mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02: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}
|
||||||
};
|
};
|
||||||
|
|
||||||
{if $SHOW_FILTER_RATINGS and isset($RATING)}
|
{if isset($SHOW_FILTER_RATINGS)}
|
||||||
var show_filter_ratings = true;
|
var show_filter_ratings = {if $SHOW_FILTER_RATINGS}{$SHOW_FILTER_RATINGS}{else}false{/if};
|
||||||
{else}
|
|
||||||
var show_filter_ratings = false;
|
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{/footer_script}
|
{/footer_script}
|
||||||
|
|||||||
Reference in New Issue
Block a user