From 36558b0846a050e21122f6a3b0c71de3d6f9db5d Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Mon, 15 Jun 2015 16:11:11 +0200 Subject: [PATCH] Options are optional. --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index c247a71..49f29b8 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -1417,7 +1417,7 @@ class H5PStorage { * TRUE if one or more libraries were updated * FALSE otherwise */ - public function updatePackage($contentId, $contentMainId = NULL, $options) { + public function updatePackage($contentId, $contentMainId = NULL, $options = array()) { $this->deletePackage($contentId); return $this->savePackage($contentId, $contentMainId, FALSE, $options); }