summaryrefslogtreecommitdiff
path: root/modules/help.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-12-29 18:49:27 +0300
committerAndrew Dolgov <[email protected]>2009-12-29 18:49:27 +0300
commitb4e75b2a25d0a30d77b2160c8195835c9816cfe0 (patch)
tree9900c7c8e7ba8d3719ae8d7430866485838169d3 /modules/help.php
parent12e55b9017fe02824d52ef8639de11356ae2d4d4 (diff)
use POST parameters for frontend requests
Diffstat (limited to 'modules/help.php')
-rw-r--r--modules/help.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/help.php b/modules/help.php
index 415870d45..64ec087bb 100644
--- a/modules/help.php
+++ b/modules/help.php
@@ -1,7 +1,7 @@
<?php
function module_help($link) {
- if (!$_GET["noheaders"]) {
+ if (!$_REQUEST["noheaders"]) {
print "<html><head>
<title>".__('Help')."</title>
<link rel=\"stylesheet\" href=\"utility.css\" type=\"text/css\">
@@ -9,7 +9,7 @@
</head><body>";
}
- $tid = sprintf("%d", $_GET["tid"]);
+ $tid = sprintf("%d", $_REQUEST["tid"]);
if (file_exists("help/$tid.php")) {
include("help/$tid.php");
@@ -21,7 +21,7 @@
onclick=\"javascript:window.close()\"
value=\"".__('Close this window')."\"></div>";
- if (!$_GET["noheaders"]) {
+ if (!$_REQUEST["noheaders"]) {
print "</body></html>";
}
}