aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/submit.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-14 18:37:03 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-14 18:37:03 +0000
commit03aafca5ad78df33d1b9608a27ee4e2b5a7acbe3 (patch)
treeed663ec3f3b7526cf359cebb274eb60a1dfb721e /views/default/input/submit.php
parent1a6f493bffd75c9b779bc76cacbf63973d45c752 (diff)
downloadelgg-03aafca5ad78df33d1b9608a27ee4e2b5a7acbe3.tar.gz
elgg-03aafca5ad78df33d1b9608a27ee4e2b5a7acbe3.tar.bz2
Removed some "Undefined" messages
git-svn-id: https://code.elgg.org/elgg/trunk@2455 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/submit.php')
-rw-r--r--views/default/input/submit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/submit.php b/views/default/input/submit.php
index 591a43998..28a0bc5fd 100644
--- a/views/default/input/submit.php
+++ b/views/default/input/submit.php
@@ -19,7 +19,7 @@
*/
$vars['type'] = 'submit';
- $class = $vars['class'];
+ if (isset($vars['class'])) $class = $vars['class'];
if (!$class) $class = "submit_button";
$vars['class'] = $class;