Skip to content

Commit

Permalink
QA: Validate before create!
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Dec 23, 2024
1 parent 8d88411 commit 7a16435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/html_filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,12 @@ public function add_row_element($row, $id, $filter) {
}

public function render() {
/* create the filter for the page */
$filter = $this->create_filter();

/* validate filter variables */
$this->sanitize_filter_variables();

/* create the filter for the page */
$filter = $this->create_filter();

/* if validation succeeds, print output the data */
print $filter;

Expand Down

0 comments on commit 7a16435

Please sign in to comment.