aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/submit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/submit.php')
-rw-r--r--views/default/input/submit.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/default/input/submit.php b/views/default/input/submit.php
index b0c72791f..377a86c8f 100644
--- a/views/default/input/submit.php
+++ b/views/default/input/submit.php
@@ -19,8 +19,7 @@
$vars['type'] = 'submit';
if (isset($vars['class'])) {
$class = $vars['class'];
-}
-if (!$class) {
+} else {
$class = "submit_button";
}
$vars['class'] = $class;