aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/form.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/form.php')
-rw-r--r--views/default/input/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/form.php b/views/default/input/form.php
index 11fb485da..b5db3e55f 100644
--- a/views/default/input/form.php
+++ b/views/default/input/form.php
@@ -44,7 +44,7 @@ $method = strtolower($method);
// Generate a security header
$security_header = "";
-if ($vars['disable_security']!=true) {
+if (!isset($vars['disable_security']) || $vars['disable_security'] != true) {
$security_header = elgg_view('input/securitytoken');
}
?>