mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes ##2195 if conf['rate'] show rating filter
only allow rating filter if gallery uses rating update api, mcs.js and tpl to check if rating search_filters.inc.php update indentation due to extra if
This commit is contained in:
@@ -510,7 +510,7 @@ SELECT
|
||||
//
|
||||
// ratings
|
||||
//
|
||||
if (!empty($search['fields']['ratings']))
|
||||
if ($conf['rate'] and !empty($search['fields']['ratings']))
|
||||
{
|
||||
$has_filters_filled = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user