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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/form.php b/views/default/input/form.php
index 8be0cc5db..2931fb07c 100644
--- a/views/default/input/form.php
+++ b/views/default/input/form.php
@@ -18,8 +18,8 @@
*
*/
- $id = $vars['internalid'];
- $name = $vars['internalname'];
+ if (isset($vars['internalid'])) { $id = $vars['internalid']; } else { $id = ''; }
+ if (isset($vars['internalname'])) { $name = $vars['internalname']; } else { $name = ''; }
$body = $vars['body'];
$action = $vars['action'];
if (isset($vars['enctype'])) { $enctype = $vars['enctype']; } else { $enctype = ''; }