From 1b19f2701d2b900f757fb8ee529a2e8e53006a0e Mon Sep 17 00:00:00 2001 From: thomasmars Date: Mon, 13 Mar 2017 14:56:01 +0100 Subject: [PATCH] Make data optional in fetchExternalData function HFP-822 --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index a48efa0..819ceb8 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -23,7 +23,7 @@ interface H5PFrameworkInterface { * @param $data * @return string The content (response body). NULL if something went wrong */ - public function fetchExternalData($url, $data); + public function fetchExternalData($url, $data = NULL); /** * Set the tutorial URL for a library. All versions of the library is set