aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index dca251538..898a1c37a 100644
--- a/index.php
+++ b/index.php
@@ -53,7 +53,7 @@ if($a->module_loaded) {
$func($a);
}
- if(($_SERVER['REQUEST_METHOD'] == 'POST') && (! $a->error)
+ if(($_SERVER['REQUEST_METHOD'] === 'POST') && (! $a->error)
&& (function_exists($a->module . '_post'))
&& (! x($_POST,'auth-params'))) {
$func = $a->module . '_post';