Unused argument

This commit is contained in:
Pierre Rudloff 2017-12-23 01:27:17 +01:00
parent b4cf27e767
commit 521d4b09b6

View file

@ -1494,7 +1494,7 @@ function api_users_search($type)
if (DBM::is_result($r)) { if (DBM::is_result($r)) {
$k = 0; $k = 0;
foreach ($r as $user) { foreach ($r as $user) {
$user_info = api_get_user($a, $user["id"], "json"); $user_info = api_get_user($a, $user["id"]);
if ($type == "xml") { if ($type == "xml") {
$userlist[$k++.":user"] = $user_info; $userlist[$k++.":user"] = $user_info;