Plugin Directory

Changeset 2008757


Ignore:
Timestamp:
01/08/2019 11:18:49 PM (7 years ago)
Author:
nikolam
Message:

Fix filtering undefined variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sermon-manager-for-wordpress/trunk/views/partials/content-sermon-filtering.php

    r1997000 r2008757  
    4141<div id="<?php echo $args['id']; ?>" class="<?php echo $args['classes']; ?>">
    4242    <?php foreach ( $filters as $filter ) : ?>
    43         <?php if ( in_array( $args[ $visibility_mapping[ $filter['taxonomy'] ] ], array(
     43        <?php if ( isset( $visibility_mapping[ $filter['taxonomy'] ] ) && in_array( $args[ $visibility_mapping[ $filter['taxonomy'] ] ], array(
    4444            'yes',
    4545            'hide',
Note: See TracChangeset for help on using the changeset viewer.