Fixed default arg for update content type cache

JI-53
pull/38/head
thomasmars 2017-02-23 12:43:18 +01:00
parent 952a07456c
commit 4a8a791327
1 changed files with 8 additions and 6 deletions

View File

@ -2752,9 +2752,11 @@ class H5PCore {
/**
* Update content type cache
*
* @param object $postData Data sent to the hub
*
* @return bool|object Returns endpoint data if found, otherwise FALSE
*/
function updateContentTypeCache($postData) {
function updateContentTypeCache($postData = NULL) {
$endpoint = 'http://hubendpoints/contenttypes';
$interface = $this->h5pF;