Skip to content

Commit

Permalink
Bigfix
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Jul 11, 2023
1 parent 381a1e2 commit e3e87e0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions classes/lhelasticsearchstatistic.php
Original file line number Diff line number Diff line change
Expand Up @@ -946,9 +946,11 @@ public static function statisticGetnumberofchatspermonth($params, $aggr = 'month
}

if (is_array($params['params_execution']['charttypes']) &&
in_array('msgtype', $params['params_execution']['charttypes']) ||
in_array('msgdelop', $params['params_execution']['charttypes']) ||
in_array('msgdelbot', $params['params_execution']['charttypes'])
(
in_array('msgtype', $params['params_execution']['charttypes']) ||
in_array('msgdelop', $params['params_execution']['charttypes']) ||
in_array('msgdelbot', $params['params_execution']['charttypes'])
)
) {
$sparams = array();
$sparams['index'] = erLhcoreClassModule::getExtensionInstance('erLhcoreClassExtensionElasticsearch')->settings['index_search'] . '-' . erLhcoreClassModelESMsg::$elasticType;
Expand Down

0 comments on commit e3e87e0

Please sign in to comment.