Services/Xero.php
authoredward <edward@roojs.com>
Wed, 27 Jun 2018 12:39:39 +0000 (20:39 +0800)
committeredward <edward@roojs.com>
Wed, 27 Jun 2018 12:39:39 +0000 (20:39 +0800)
Services/Xero.php

index 6b2eca1..e59314f 100644 (file)
@@ -18,7 +18,7 @@ class Services_Xero
         $this->XeroOAuth = new Services_Xero_OAuth($config);
     }
     
-    function getContacts($params)
+    function getContacts($params = array())
     {
         $response = $this->XeroOAuth->request('GET', $this->XeroOAuth->url('Contacts', 'core'), $params);