Make sure contentId are handled when passed as strings
parent
86ee19905e
commit
c4f2b26116
|
@ -372,7 +372,7 @@ class H5PDefaultStorage implements \H5PFileStorage {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($contentId === NULL || $contentId === 0) {
|
if ($contentId === NULL || $contentId == 0) {
|
||||||
$target = $this->getEditorPath();
|
$target = $this->getEditorPath();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue