diff --git a/VectorTemplate.php b/VectorTemplate.php index eca1ae4..ec2c87a 100644 --- a/VectorTemplate.php +++ b/VectorTemplate.php @@ -110,7 +110,8 @@ class VectorTemplate extends BaseTemplate { if ( is_callable( array( $this, 'getIndicators' ) ) ) { echo $this->getIndicators(); } - if ( isset( $this->data['title'] ) ) { + // Loose comparison with '!=' is intentional, to catch null and false too, but not '0' + if ( $this->data['title'] != '' ) { ?>

html( 'title' )