diff --git a/libraries.module b/libraries/libraries.module index 0448476..ee6b5a3 100644 --- a/libraries.module +++ b/libraries.module @@ -694,7 +694,7 @@ function libraries_load($name, $variant = NULL) { */ function libraries_load_files($library) { // Load integration files. - if (!$library['post-load integration files'] && !empty($library['integration files'])) { + if ((!isset($library['post-load integration files']) || !$library['post-load integration files']) && !empty($library['integration files'])) { $enabled_themes = array(); foreach (list_themes() as $theme_name => $theme) { if ($theme->status) { @@ -772,7 +772,7 @@ function libraries_load_files($library) { } // Load integration files. - if ($library['post-load integration files'] && !empty($library['integration files'])) { + if ((isset($library['post-load integration files']) && $library['post-load integration files']) && !empty($library['integration files'])) { $enabled_themes = array(); foreach (list_themes() as $theme_name => $theme) { if ($theme->status) {