Skip to content

Commit

Permalink
Cleanup [s2File /], [s2Stream /] shortcodes. See: #179
Browse files Browse the repository at this point in the history
  • Loading branch information
JasWSInc committed Aug 10, 2014
1 parent 61525a0 commit 3c9a8e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s2member/includes/classes/sc-files-in.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static function sc_get_file($attr = array(), $content = '', $shortcode =
else if(!empty($_get))
$get = $_get;
}
return apply_filters('ws_plugin__s2member_sc_get_file', ((isset($get)) ? $get : NULL), get_defined_vars());
return apply_filters('ws_plugin__s2member_sc_get_file', isset($get) ? $get : NULL, get_defined_vars());
}

/**
Expand Down Expand Up @@ -198,7 +198,7 @@ public static function sc_get_stream($attr = array(), $content = '', $shortcode
}
}
}
return apply_filters('ws_plugin__s2member_sc_get_stream', ((isset($get)) ? $get : NULL), get_defined_vars());
return apply_filters('ws_plugin__s2member_sc_get_stream', isset($get) ? $get : NULL, get_defined_vars());
}
}
}

0 comments on commit 3c9a8e4

Please sign in to comment.