aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/submit.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-17 12:45:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-17 12:45:45 +0000
commit8c9c23b0606a3f4655da71a580a58ea589834efc (patch)
tree00c90b5cda65954c7904c8c3ff3122808d35b4bc /views/default/input/submit.php
parent7e1b63792bc51cf6d313199512564a1750562088 (diff)
downloadelgg-8c9c23b0606a3f4655da71a580a58ea589834efc.tar.gz
elgg-8c9c23b0606a3f4655da71a580a58ea589834efc.tar.bz2
fixed notices caused by some input views
git-svn-id: http://code.elgg.org/elgg/trunk@3766 36083f99-b078-4883-b0ff-0f9b5a30f544
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;