diff --git a/lam/templates/profedit/profilepage.php b/lam/templates/profedit/profilepage.php index 7c8271b8..ad0e6817 100644 --- a/lam/templates/profedit/profilepage.php +++ b/lam/templates/profedit/profilepage.php @@ -142,7 +142,7 @@ function print_option($values, $modulename, $old_options) { if ($values['size']) $output .= " size=\"" . $values['size'] . "\""; if ($values['maxlength']) $output .= " maxlength=\"" . $values['maxlength'] . "\""; if ($values['disabled']) $output .= " disabled"; - if (isset($old_options[$values['name']]) && ($old_options[$values['name']][0] == true)) $output .= " checked"; + if (isset($old_options[$values['name']]) && ($old_options[$values['name']][0] == 'true')) $output .= " checked"; elseif ($values['checked']) $output .= " checked"; $output .= ">\n"; echo $output; @@ -183,6 +183,20 @@ function print_option($values, $modulename, $old_options) { } echo "\n"; break; + // subtable + case 'table': + echo "
"; + print_option($values['value'][$l][$o], $values['value'], $old_options); + echo " | \n"; + } + echo "