aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/comanche.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comanche.php b/include/comanche.php
index cca7cb0f6..93cbd8b12 100644
--- a/include/comanche.php
+++ b/include/comanche.php
@@ -174,7 +174,7 @@ function comanche_block($s, $class = '') {
$o .= '<h3>' . $r[0]['title'] . '</h3>';
}
- if($r[0]['title'] && trim($r[0]['title']) === '$content') {
+ if($r[0]['title'] && trim($r[0]['title']) === '$content' && get_app()->data['webpage'][0]['title']) {
$o .= '<h3>' . get_app()->data['webpage'][0]['title'] . '</h3>';
}