diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 11b087ac5..1230e2b24 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -86,10 +86,11 @@ function fileas_widget($baseurl,$selected = '') {
intval(local_user()),
intval(TERM_FILE)
);
- if(count($r)) {
- foreach($r as $rr)
+ if(! $r)
+ return;
+
+ foreach($r as $rr)
$terms[] = array('name' => $rr['term'], 'selected' => (($selected == $rr['term']) ? 'selected' : ''));
- }
return replace_macros(get_markup_template('fileas_widget.tpl'),array(
'$title' => t('Saved Folders'),
diff --git a/include/nav.php b/include/nav.php
index bcad7e00d..5b86a0691 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -174,7 +174,7 @@ EOT;
if($banner === false)
// $banner .= '';
- $banner = '';
+ $banner = 'red';
$tpl = get_markup_template('nav.tpl');
diff --git a/index.php b/index.php
index 0c80c0ba5..6baf26f12 100644
--- a/index.php
+++ b/index.php
@@ -390,8 +390,6 @@ if($a->is_mobile || $a->is_tablet) {
));
}
-$a->page['footer'] .= '