Use correct format

HFJ-1610
pull/17/head
Frode Petterson 2016-02-09 13:52:35 +01:00
parent b16b0c1e0b
commit 2a20dc23ae
1 changed files with 4 additions and 4 deletions

View File

@ -2467,10 +2467,10 @@ class H5PCore {
$data = array( $data = array(
'api_version' => 2, 'api_version' => 2,
'uuid' => $uuid, 'uuid' => $uuid,
'platform_name' => $platform->name, 'platform_name' => $platform['name'],
'platform_version' => $platform->version, 'platform_version' => $platform['version'],
'h5p_version' => $platform->h5pVersion, 'h5p_version' => $platform['h5pVersion'],
'disabled' => $fetchingDisabled, 'disabled' => $fetchingDisabled ? 1 : 0,
'local_id' => hash('crc32', $this->fullPluginPath), 'local_id' => hash('crc32', $this->fullPluginPath),
'type' => $this->h5pF->getOption('site_type', 'local'), 'type' => $this->h5pF->getOption('site_type', 'local'),
'num_authors' => $this->h5pF->getNumAuthors(), 'num_authors' => $this->h5pF->getNumAuthors(),