aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/email.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/email.php')
-rw-r--r--views/default/input/email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/email.php b/views/default/input/email.php
index d9516fd2b..cb38543df 100644
--- a/views/default/input/email.php
+++ b/views/default/input/email.php
@@ -21,4 +21,4 @@
if (!$class) $class = "input-text";
?>
-<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?>" class="<?php echo $class; ?>"/> \ No newline at end of file
+<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" <?php if (isset($vars['internalid'])) echo "id=\"{$vars['internalid']}\""; ?>value="<?php echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?>" class="<?php echo $class; ?>"/> \ No newline at end of file