From e56fe16b0b4d1be050dc261149079c9b08e09985 Mon Sep 17 00:00:00 2001 From: Jay Wood Date: Sat, 29 Aug 2015 13:51:45 -0400 Subject: [PATCH] And again --- class/main.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/main.class.php b/class/main.class.php index d1beb7c..1de0ada 100644 --- a/class/main.class.php +++ b/class/main.class.php @@ -35,7 +35,7 @@ class CWV3 { // Special consideration needs to be taken to check if the post parent is in-fact // gated in any way. $cat_gated = $this->is_cat_gated( $post->post_parent ); - if ( ! empty( $cat_gated ) ) { + if ( $cat_gated ) { // Return the category cookie name like _cat_### return '_cat_' . $cat_gated; } else if ( $this->is_gated( $post->post_parent ) ) {