@ -166,7 +166,7 @@ function userSettings($user, $email = null, $addr = null, $pass = null)
return repDecode($rep);
}
#
function getAllUsers()
function getAllUsers($user)
{
$flds = array();
$msg = msgEncode('allusers', 'all', $flds);
@ -16,7 +16,7 @@ function doallwork($data, $user)
$pg .= worktitle($data, $user);
$ans = getAllUsers();
$ans = getAllUsers($user);
if ($ans['STATUS'] == 'ok')
$count = $ans['rows'];
@ -12,7 +12,7 @@ function dostats($data, $user)
$pg = '<h1>Pool Stats</h1>';
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n";
$pg .= "<tr class=title>";