diff --git a/h5p-default-storage.class.php b/h5p-default-storage.class.php index 2147f9b..8d2daf8 100644 --- a/h5p-default-storage.class.php +++ b/h5p-default-storage.class.php @@ -372,7 +372,7 @@ class H5PDefaultStorage implements \H5PFileStorage { return NULL; } - if ($contentId === NULL || $contentId === 0) { + if ($contentId === NULL || $contentId == 0) { $target = $this->getEditorPath(); } else {