Use correct variable

pull/17/head
Frode Petterson 2016-02-05 11:09:57 +01:00
parent 292e04de5d
commit fa90b0a1c3
1 changed files with 2 additions and 2 deletions

View File

@ -2458,7 +2458,7 @@ class H5PCore {
$platformInfo['autoFetchingDisabled'] = $fetchingDisabled;
$platformInfo['uuid'] = $this->h5pF->getOption('site_uuid', '');
$platformInfo['siteType'] = $this->h5pF->getOption('site_type', 'local');
$platformInfo['libraryStats'] = $core->combineArrayValues(array(
$platformInfo['libraryStats'] = $this->combineArrayValues(array(
'patch' => $this->getLibrariesInstalled(),
'content' => $this->h5pF->getLibraryContentCount(),
'loaded' => $this->h5pF->getLibraryStats('library'),
@ -2467,7 +2467,7 @@ class H5PCore {
'deleted' => $this->h5pF->getLibraryStats('content', 'deleted'),
'resultViews' => $this->h5pF->getLibraryStats('results', 'content'),
'shortcodeInserts' => $this->h5pF->getLibraryStats('content', 'shortcode insert')
))
));
// Adding random string to GET to be sure nothing is cached
$random = substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 5);