We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef3314 commit 0bffef0Copy full SHA for 0bffef0
index.php
@@ -32,13 +32,13 @@
32
http://www.test3.com/faq.html?faq=13&layout=bob bbq.html
33
text/faq.html?faq=20 helpdesk/kb.php
34
EOD;
35
-$paramComments = (bool)($_POST['desc_comments'] ?? true);
+$paramComments = (bool)($_POST ? ($_POST['desc_comments'] ?? false) : true);
36
$paramType = $_POST['type'] ?? RewriteTypes::PERMANENT_REDIRECT;
37
38
$generator = new ApacheModRewriteGenerator;
39
40
$engine = new Engine($generator);
41
-$output = $engine->generate($paramRewrites, $paramType, isset($paramComments));
+$output = $engine->generate($paramRewrites, $paramType, $paramComments);
42
43
?>
44
<!DOCTYPE html>
0 commit comments