Syntax errors

This commit is contained in:
nonmakina 2021-01-19 20:38:18 -06:00
parent c438ff9ab0
commit ed2fd963e5
2 changed files with 2 additions and 1 deletions

View File

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

View File

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