aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/input/button.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/button.php b/views/default/input/button.php
index 72a1f653d..4b49f09b6 100644
--- a/views/default/input/button.php
+++ b/views/default/input/button.php
@@ -38,4 +38,4 @@
if (isset($vars['src'])) $src = $vars['src'];
if (strpos($src,$CONFIG->wwwroot)===false) $src = ""; // blank src if trying to access an offsite image.
?>
-<input type="<?php echo $type; ?>" class="<?php echo $class; ?>" <?php echo $vars['js']; ?> value="<?php echo $value; ?>" src="<?php echo $src; ?>" /> \ No newline at end of file
+<input name="<?php echo $vars['internalname']; ?>" type="<?php echo $type; ?>" class="<?php echo $class; ?>" <?php echo $vars['js']; ?> value="<?php echo $value; ?>" src="<?php echo $src; ?>" /> \ No newline at end of file