Make sure contentId are handled when passed as strings

pull/10/merge
thomasmars 2017-04-09 17:43:56 +02:00
parent 86ee19905e
commit c4f2b26116
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ class H5PDefaultStorage implements \H5PFileStorage {
return NULL;
}
if ($contentId === NULL || $contentId === 0) {
if ($contentId === NULL || $contentId == 0) {
$target = $this->getEditorPath();
}
else {