From fa90b0a1c32f9f60d639602f0ef5757ba6d3db27 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Fri, 5 Feb 2016 11:09:57 +0100 Subject: [PATCH] Use correct variable --- h5p.classes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index 1373ad1..ce9d726 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -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);