correct user buys

This commit is contained in:
Andrey Kuvshinov
2020-05-13 00:23:18 +03:00
parent 18d7716be5
commit 74869eb606
2 changed files with 5 additions and 3 deletions

View File

@@ -91,14 +91,14 @@ function mybooks_kuri($page = 1){
}
$limit = 25;
$client = api_client_kuri($login['data']['clienthash']);
$client = api_client_kuri($login['clienthash']);
$baseurl = SITE."mybooks/";
if (!$client) {
echo 'Пользователь не найден';
return;
}
$items = clientbuys_kuri($client['client_id'], $page);
$count = $items['count'];