aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/checkboxes.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/checkboxes.php')
-rw-r--r--views/default/input/checkboxes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php
index 2222875d8..f0bf0525b 100644
--- a/views/default/input/checkboxes.php
+++ b/views/default/input/checkboxes.php
@@ -43,7 +43,7 @@ $js = (isset($vars['js'])) ? $vars['js'] : '';
if ($options) {
// include a default value so if nothing is checked 0 will be passed.
if ($internalname && $default !== FALSE) {
- echo "<input type=\"hidden\" name=\"$internalname\" value=\"$default\">";
+ echo "<input type=\"hidden\" name=\"$internalname\" value=\"$default\" />";
}
foreach ($options as $label => $option) {
@@ -75,6 +75,6 @@ if ($options) {
$input = elgg_view('input/checkbox', $input_vars);
- echo "<label>{$input}{$label}</label><br />";
+ echo "{$input}<label>{$label}</label><br />";
}
} \ No newline at end of file