Skip to content

Commit

Permalink
Fixes UI bug where Dropdown didn’t re-select after post
Browse files Browse the repository at this point in the history
  • Loading branch information
donatj committed Jul 10, 2019
1 parent 0bffef0 commit 0eba708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
text/faq.html?faq=20 helpdesk/kb.php
EOD;
$paramComments = (bool)($_POST ? ($_POST['desc_comments'] ?? false) : true);
$paramType = $_POST['type'] ?? RewriteTypes::PERMANENT_REDIRECT;
$paramType = (int)($_POST['type'] ?? RewriteTypes::PERMANENT_REDIRECT);

$generator = new ApacheModRewriteGenerator;

Expand Down

0 comments on commit 0eba708

Please sign in to comment.