diff --git a/theme/apps-install-page.tpl.php b/theme/apps-install-page.tpl.php
index 57eede5..20beba9 100755
--- a/theme/apps-install-page.tpl.php
+++ b/theme/apps-install-page.tpl.php
@@ -1,4 +1,4 @@
-
+
diff --git a/theme/apps.theme.inc b/theme/apps.theme.inc
index 30daca9..c708a19 100755
--- a/theme/apps.theme.inc
+++ b/theme/apps.theme.inc
@@ -129,11 +129,13 @@ function apps_preprocess_apps_app_featured(&$vars) {
}
/**
- * implement hook_preprocess_apps_install_page
+ * Implements hook_preprocess_apps_install_page().
*/
function apps_preprocess_apps_install_page(&$vars) {
- drupal_add_css(drupal_get_path('module', 'apps').'/theme/css/apps.css');
- if (isset($vars['content']['featured_app'])) {
+ drupal_add_css(drupal_get_path('module', 'apps') . '/theme/css/apps.css');
+ if (isset($vars['content']['featured_app'])
+ && is_array($vars['content']['featured_app'])) {
+
$vars['content']['featured_app']['#theme'] = 'apps_app_featured';
}
}