diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-05-24 15:09:30 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-05-24 15:09:30 +0200 |
commit | 57d520e69fcb34a69f8e94038a23c8d52251bfc5 (patch) | |
tree | 0d6014144f250780f7bd978afe831e5ccf6c5a08 /include/comanche.php | |
parent | 125cd5e32b537e2f3540a2b1c335fb62ad6a339e (diff) | |
download | volse-hubzilla-57d520e69fcb34a69f8e94038a23c8d52251bfc5.tar.gz volse-hubzilla-57d520e69fcb34a69f8e94038a23c8d52251bfc5.tar.bz2 volse-hubzilla-57d520e69fcb34a69f8e94038a23c8d52251bfc5.zip |
logic has changed - this is not needed anymore
Diffstat (limited to 'include/comanche.php')
-rw-r--r-- | include/comanche.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/comanche.php b/include/comanche.php index fad499649..65f64be5c 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -170,15 +170,10 @@ function comanche_block($s, $class = '') { if($r) { $o .= (($var['wrap'] == 'none') ? '' : '<div class="' . $class . '">'); - if($r[0]['title'] && trim($r[0]['title']) != '$content') { + if($r[0]['title'] && trim($r[0]['body']) != '$content') { $o .= '<h3>' . $r[0]['title'] . '</h3>'; } - if($r[0]['title'] && trim($r[0]['title']) === '$content' && get_app()->data['webpage'][0]['title']) { - $o .= '<h3>' . get_app()->page['title'] . '</h3>'; - } - - if(trim($r[0]['body']) === '$content') { $o .= get_app()->page['content']; } |