aboutsummaryrefslogtreecommitdiff
path: root/views/default/input
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 10:30:09 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 10:30:09 +0000
commit4973086aa9dd4d482e54c0e5b177c09251e6a7ec (patch)
tree57ff1b398099ec072857c54033b09cab54f749ed /views/default/input
parent2c0154782f1e84e1bcf2517a910abe2ceab28ae6 (diff)
downloadelgg-4973086aa9dd4d482e54c0e5b177c09251e6a7ec.tar.gz
elgg-4973086aa9dd4d482e54c0e5b177c09251e6a7ec.tar.bz2
Removing some messages
git-svn-id: https://code.elgg.org/elgg/trunk@1879 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input')
-rw-r--r--views/default/input/form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/form.php b/views/default/input/form.php
index e3e403242..8be0cc5db 100644
--- a/views/default/input/form.php
+++ b/views/default/input/form.php
@@ -22,8 +22,8 @@
$name = $vars['internalname'];
$body = $vars['body'];
$action = $vars['action'];
- $enctype = $vars['enctype'];
- $method = $vars['method']; if (!$method) $method = 'POST';
+ if (isset($vars['enctype'])) { $enctype = $vars['enctype']; } else { $enctype = ''; }
+ if (isset($vars['method'])) { $method = $vars['method']; } else { $method = 'POST'; }
// Generate a security header
$security_header = "";