Skip to content

Commit 4337d02

Browse files
Merge branch 'fixed-opt-arg-order' into 'master'
Fixed issue with order of optional arguments See merge request mpluskassa/mplus-api-client-deprecated!59
2 parents 837cbe5 + 21bf8dc commit 4337d02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Mplusqapiclient.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class MplusQAPIclient
44
{
5-
const CLIENT_VERSION = '1.34.5';
5+
const CLIENT_VERSION = '1.34.6';
66
const WSDL_TTL = 300;
77

88
var $MIN_API_VERSION_MAJOR = 0;
@@ -3912,7 +3912,7 @@ protected function validateCardType($cardType) {
39123912
}
39133913

39143914
//----------------------------------------------------------------------------
3915-
public function getOverview($cardType, $categoryId = 0, $selectFields, $pageNumber = null, $maxPerPage = null, $orderField = null, $sortOrder = null, $filters = null, $search = null, $retrieveImageList = null, $attempts = 0) {
3915+
public function getOverview($cardType, $categoryId = 0, $selectFields = array(), $pageNumber = null, $maxPerPage = null, $orderField = null, $sortOrder = null, $filters = null, $search = null, $retrieveImageList = null, $attempts = 0) {
39163916
try {
39173917
$this->validateCardType($cardType);
39183918
$request = $this->parser->convertGetOverviewRequest($cardType, $categoryId, $selectFields, $pageNumber, $maxPerPage, $orderField, $sortOrder, $filters, $search, $retrieveImageList);
@@ -3961,7 +3961,7 @@ public function getOverviewFields($cardType, $categoryId = 0, $attempts = 0) {
39613961
// END getOverviewFields()
39623962

39633963
//----------------------------------------------------------------------------
3964-
public function updateBatch($cardType, $categoryId = 0, $numbers, $fields, $attempts = 0) {
3964+
public function updateBatch($cardType, $categoryId = 0, $numbers = array(), $fields = array(), $attempts = 0) {
39653965
try {
39663966
$this->validateCardType($cardType);
39673967
$request = $this->parser->convertUpdateBatchRequest($cardType, $categoryId, $numbers, $fields);

0 commit comments

Comments
 (0)