aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/hidden.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/hidden.php')
-rw-r--r--views/default/input/hidden.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/hidden.php b/views/default/input/hidden.php
index 6fcd56e4a..d1750b6f3 100644
--- a/views/default/input/hidden.php
+++ b/views/default/input/hidden.php
@@ -17,4 +17,4 @@
*
*/
?>
-<input type="hidden" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?>" /> \ No newline at end of file
+<input type="hidden" <?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'); ?>" /> \ No newline at end of file