Unused argument
This commit is contained in:
parent
b4cf27e767
commit
521d4b09b6
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue