aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/button.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/button.php')
-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 8fa240a3b..9a72f38b0 100644
--- a/views/default/input/button.php
+++ b/views/default/input/button.php
@@ -24,7 +24,7 @@
$class = $vars['class'];
if (!$class) $class = "submit_button";
- $type = strtolower($vars['type']);
+ if (isset($vars['type'])) { $type = strtolower($vars['type']); } else { $type = 'submit'; }
switch ($type)
{
case 'button' : $type='button'; break;