Browse Source

Syntax errors

pull/40/head
nonmakina 3 years ago
parent
commit
ed2fd963e5
  1. 1
      templates/themes/categories/news.html
  2. 2
      templates/themes/categories/theme.php

1
templates/themes/categories/news.html

@ -60,6 +60,7 @@
<span>{{ boardStat.recent_ips }}</span>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>

2
templates/themes/categories/theme.php

@ -126,7 +126,7 @@
$unique_ips = $unique_query->fetchAll();
$boardStat['recent_ips'] = count($unique_ips);
foreach ( as $_k => $row) {
foreach ($unique_ips as $_k => $row) {
$unique[$row['ip']] = true;
}

Loading…
Cancel
Save