Skip to content

Commit

Permalink
bug fix conditional logic when setting $_GET
Browse files Browse the repository at this point in the history
  • Loading branch information
RensTillmann committed May 17, 2019
1 parent 27e6cb2 commit b2f4a5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/includes/class-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ public static function get_items($items=array(), $tag, $atts, $prefix='', $setti
if($tag==='checkbox'){
$selected_items = explode( ",", $atts['value'] );
}
if($tag==='radio'){
$selected_items = array($atts['value']);
}

$items = array();

Expand Down

0 comments on commit b2f4a5f

Please sign in to comment.