Skip to content

Commit

Permalink
add hidden 'wpas' field to check if form was submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
raideus committed Oct 20, 2013
1 parent c7330f8 commit e0b74f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wpas.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ function build_form() {
$output .= '<input type="hidden" name="orderby" value="'.$this->orderby_relevanssi.'">';
}

$output .= '<input type="hidden" name="wpas" value="1">';

$output .= '</form>';
$this->the_form = $output;
}
Expand Down

0 comments on commit e0b74f6

Please sign in to comment.