Skip to content

Commit

Permalink
Ensure parameters is an array
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuurlijk committed Oct 21, 2019
1 parent 2c099da commit 3db41ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Controller/H5pModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public function editAction(int $contentId)
$contentLibrary = $content->getLibrary()->toAssocArray();
$this->view->assign('content', $content);
$this->view->assign('library', sprintf('%s %d.%d', $contentLibrary['machineName'], $contentLibrary['majorVersion'], $contentLibrary['minorVersion']));
$parameters = json_decode($content->getFiltered(), true);
$parameters = (array)json_decode($content->getFiltered(), true);
$parameters = $this->injectMetadataIntoParameters($parameters, $content);
$this->view->assign('parameters', json_encode($parameters, true));
}
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'dependencies' => '',
'state' => 'stable',
'uploadfolder' => 0,
'version' => '0.2.12',
'version' => '0.2.13',
'constraints' => [
'depends' => [
'typo3' => '7.0.0-9.5.99',
Expand Down

0 comments on commit 3db41ae

Please sign in to comment.