Commit 25f1dbd5 authored by Kulya's avatar Kulya 😊

Fix Rest CatalogGet param page to int

parent f428eb03
......@@ -116,8 +116,8 @@ require_once (__DIR__.'/keys.php');
public static function getCatalog($page=1,$cnt=1) {
$result = static::callCurl("catalog.get",[
"PerPage" => $cnt,
"Page" => $page,
"PerPage" => (int)$cnt,
"Page" => (int)$page,
"Sort" => [
"type" => "num",
"field" => "id",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment