Fixed php notice.

namespaces
Frode Petterson 2013-02-25 15:45:34 +01:00
parent ac0209815a
commit ad828c1984
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ class H5PStorage {
$librariesInUse[$preloadedDependency['machineName']] = array( $librariesInUse[$preloadedDependency['machineName']] = array(
'library' => $library, 'library' => $library,
'preloaded' => $dynamic ? 0 : 1, 'preloaded' => $dynamic ? 0 : 1,
'default_styles' => $preloadedDependency['defaultStyles'] ? 1 : 0, 'default_styles' => isset($preloadedDependency['defaultStyles']) && $preloadedDependency['defaultStyles'] ? 1 : 0,
); );
$this->getLibraryUsage($librariesInUse, $library, $dynamic); $this->getLibraryUsage($librariesInUse, $library, $dynamic);
} }