aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/form.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-17 12:45:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-17 12:45:45 +0000
commit8c9c23b0606a3f4655da71a580a58ea589834efc (patch)
tree00c90b5cda65954c7904c8c3ff3122808d35b4bc /views/default/input/form.php
parent7e1b63792bc51cf6d313199512564a1750562088 (diff)
downloadelgg-8c9c23b0606a3f4655da71a580a58ea589834efc.tar.gz
elgg-8c9c23b0606a3f4655da71a580a58ea589834efc.tar.bz2
fixed notices caused by some input views
git-svn-id: http://code.elgg.org/elgg/trunk@3766 36083f99-b078-4883-b0ff-0f9b5a30f544
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');
}
?>