diff --git a/includes/class.ssc_shortcodes.php b/includes/class.ssc_shortcodes.php index d9339b1..c2333a9 100644 --- a/includes/class.ssc_shortcodes.php +++ b/includes/class.ssc_shortcodes.php @@ -49,7 +49,7 @@ function simple_shop_content($atts, $content = ""){ } // Stop if there's no group_id or is_member, and no specific date is set - if (empty($group_id) || empty($is_member) && empty($specific_date_from) && empty($specific_date_to)) + if ( empty($group_id) || ( empty( $is_member ) && empty( $specific_date_from ) && empty( $specific_date_to ) ) ) return ''; $group = new SSC_Group($group_id);