- fixed email notifications integration;

- fixed small notices;
This commit is contained in:
nikitozzzzzzz
2017-11-12 15:55:43 +02:00
parent 5c8b9b10f5
commit cfbdb688fe
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ if ( ! class_exists( 'Access' ) ) {
$restricted_posts = um_get_option( 'restricted_access_post_metabox' );
if ( ! empty( $restricted_posts[ $post->post_type ] ) ) {
if ( ! empty( $post->post_type ) && ! empty( $restricted_posts[ $post->post_type ] ) ) {
$restriction = get_post_meta( $post->ID, 'um_content_restriction', true );
if ( ! empty( $restriction['_um_custom_access_settings'] ) ) {