From f9c66b7e55efb296b925d35197014f4c45540fe0 Mon Sep 17 00:00:00 2001 From: Robert Schwandner Date: Thu, 7 Apr 2016 13:27:47 +0200 Subject: [PATCH] param must be 'obj_type" @see Salesking::getCollection() --- docs/examples/fetchclients.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/fetchclients.php b/docs/examples/fetchclients.php index d71d0f7..609e1ad 100644 --- a/docs/examples/fetchclients.php +++ b/docs/examples/fetchclients.php @@ -18,7 +18,7 @@ // fetch a new client object try { - $contacts = $sdk->getCollection(array("type" => "contact","autoload" => true)); + $contacts = $sdk->getCollection(array("obj_type" => "contact","autoload" => true)); } catch(SaleskingException $e) { // error handling because schema file isn't available