initialize usercount to silence logged warning

This commit is contained in:
Ben Harris 2021-01-13 13:46:26 -05:00
parent 399508d366
commit a5478817ca
1 changed files with 3 additions and 1 deletions

View File

@ -119,7 +119,9 @@ $parser = Tildeverse\Wiki\Parser::factory();
<p><a href="/users/">all users</a></p> <p><a href="/users/">all users</a></p>
<div class="list-group"> <div class="list-group">
<ul> <ul>
<?php foreach (glob("/home/*/public_html", GLOB_ONLYDIR) as $user): <?php
$usercount = 0;
foreach (glob("/home/*/public_html", GLOB_ONLYDIR) as $user):
if ( if (
( (
// make sure we have an index page // make sure we have an index page