diff --git a/pool/db.php b/pool/db.php index 14688111..af562cea 100644 --- a/pool/db.php +++ b/pool/db.php @@ -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); diff --git a/pool/page_allwork.php b/pool/page_allwork.php index ac1d9471..15e35a3e 100644 --- a/pool/page_allwork.php +++ b/pool/page_allwork.php @@ -16,7 +16,7 @@ function doallwork($data, $user) $pg .= worktitle($data, $user); - $ans = getAllUsers(); + $ans = getAllUsers($user); if ($ans['STATUS'] == 'ok') { $count = $ans['rows']; diff --git a/pool/page_stats.php b/pool/page_stats.php index 7a6190db..7b27d35c 100644 --- a/pool/page_stats.php +++ b/pool/page_stats.php @@ -12,7 +12,7 @@ function dostats($data, $user) { $pg = '

Pool Stats

'; - $ans = getAllUsers(); + $ans = getAllUsers($user); $pg .= "\n"; $pg .= "";