Skip to content

Commit

Permalink
Fix probably errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubboucek committed Sep 3, 2018
1 parent 6df059e commit 29f3e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class.ssc_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 29f3e95

Please sign in to comment.