summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authormark <mark>2011-10-31 19:20:16 +0000
committermark <mark>2011-10-31 19:20:16 +0000
commit2ad6569982365759d7baaf5a97bc836770a54291 (patch)
tree81c72ce1e7687e27ea1f727643f659fdb6335793 /httemplate/elements
parent588ac92d054671aa13cb61f76b5da472661cb1ac (diff)
export NAS table to sqlradius, #14697
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/checkboxes-table.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/elements/checkboxes-table.html b/httemplate/elements/checkboxes-table.html
index a31bdb919..671cd1f9b 100644
--- a/httemplate/elements/checkboxes-table.html
+++ b/httemplate/elements/checkboxes-table.html
@@ -81,6 +81,10 @@
% ? 'CHECKED'
% : '';
%
+% } elsif ( !$sourcenum ) { # newly created object, has no links yet
+%
+% $checked = $opt{'default'} ? 'CHECKED' : ''
+%
% } else {
%
% $checked = qsearchs( $opt{'link_table'}, {