Skip to content

Commit 0eba708

Browse files
committed
Fixes UI bug where Dropdown didn’t re-select after post
1 parent 0bffef0 commit 0eba708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
text/faq.html?faq=20 helpdesk/kb.php
3434
EOD;
3535
$paramComments = (bool)($_POST ? ($_POST['desc_comments'] ?? false) : true);
36-
$paramType = $_POST['type'] ?? RewriteTypes::PERMANENT_REDIRECT;
36+
$paramType = (int)($_POST['type'] ?? RewriteTypes::PERMANENT_REDIRECT);
3737

3838
$generator = new ApacheModRewriteGenerator;
3939

0 commit comments

Comments
 (0)