Don't show countdown if nothing available

This commit is contained in:
Brian Miyaji
2016-04-13 15:57:25 +10:00
parent 3261a1bb51
commit 38e3944623

View File

@@ -31,7 +31,7 @@ endif;
extract( $defaults, EXTR_SKIP ); extract( $defaults, EXTR_SKIP );
if ( ! isset( $post ) ) return; if ( ! isset( $post ) || ! $post ) return;
if ( $title ) if ( $title )
echo '<h4 class="sp-table-caption">' . $title . '</h4>'; echo '<h4 class="sp-table-caption">' . $title . '</h4>';