rehabilitate the use of $start, and remove unused parameter

master
Gilles Crettenand 11 years ago
parent c83df2c7f6
commit 33649ccc03

@ -18,7 +18,7 @@ class NetBiblio extends WebService
private $login = '';
private $client = 'website';
public function AddDownloadLog($IP, $client, $login, $code)
public function AddDownloadLog($client, $login, $code)
{
$client = str_replace("'", "", $client);
$login = str_replace("'", "", $login);
@ -292,7 +292,7 @@ class NetBiblio extends WebService
'queryText' => $query,
'queryType' => is_numeric($query) && strlen($query) <= 5 ? 'code' : 'text',
'count' => $limit,
'page' => 0,
'page' => max(intval($start) - 1, 0),
);
$data = $this->NewSearch(json_encode($query));

Loading…
Cancel
Save