diff --git a/www/pages/api.php b/www/pages/api.php index 223d0bd8e..4d6a92e0a 100644 --- a/www/pages/api.php +++ b/www/pages/api.php @@ -126,7 +126,7 @@ switch ($function) { case 's': verifyEmptyParameter('q'); $maxAge = maxAge(); - $page->users->addApiRequest($uid, $_SERVER['REQUEST_URI'], $hosthash); + $page->users->addApiRequest($uid, $_SERVER['REQUEST_URI']); $categoryID = categoryid(); $limit = limit(); $offset = offset();