Check if $breadcrumb is empty

This commit is contained in:
Mike Jolley 2015-09-14 15:56:58 +01:00
parent fc78f85bc6
commit 8e19abe368
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( $breadcrumb ) {
if ( ! empty( $breadcrumb ) ) {
echo $wrap_before;
@ -36,4 +36,4 @@ if ( $breadcrumb ) {
echo $wrap_after;
}
}