chg: [statistics] fix typo in statistics_data view - monthly attributes styling check

pull/7237/head
Jeroen Pinoy 2021-03-23 23:15:08 +00:00 committed by Alexandre Dulaunoy
parent a8e08a6892
commit a0ead60b4d
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
</dd>
<dt><?php echo __('Attributes'); ?></dt>
<dd><?php echo h($stats['attribute_count']);
if ($stats['event_count_month']) echo ' <span style="color:green">(+' . h($stats['attribute_count_month']) . ')</span>&nbsp;';
if ($stats['attribute_count_month']) echo ' <span style="color:green">(+' . h($stats['attribute_count_month']) . ')</span>&nbsp;';
else echo ' <span style="color:red">(0)</span>&nbsp;';?>
</dd>
<dt><?php echo __('Attributes / event'); ?></dt>