Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ThemeFuse/Unyson-Shortcodes-Exten…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
moldcraft committed Feb 23, 2015
2 parents c899089 + 01c3cfb commit f9e2834
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shortcodes/table/class-fw-shortcode-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ protected function _render( $atts, $content = null, $tag = '' ) {
|| ! isset( $atts['table']['header_options'] )
|| ! isset( $atts['table']['header_options']['table_purpose'] )
) {
$view_file = $this->get_declared_path( '/views/tabular.php' );
} else {
$view_file = $this->locate_path( '/views/' . $atts['table']['header_options']['table_purpose'] . '.php' );
return '';
}

$view_file = $this->locate_path( '/views/' . $atts['table']['header_options']['table_purpose'] . '.php' );

if ( ! $view_file ) {
$view_file = $this->get_declared_path( '/views/tabular.php' );
}
Expand Down

0 comments on commit f9e2834

Please sign in to comment.