projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf86f32
)
remove unused option that DTWT
author
jeff
<jeff>
Mon, 5 Oct 2009 15:07:40 +0000
(15:07 +0000)
committer
jeff
<jeff>
Mon, 5 Oct 2009 15:07:40 +0000
(15:07 +0000)
httemplate/elements/tr-select-pkg_class.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tr-select-pkg_class.html
b/httemplate/elements/tr-select-pkg_class.html
index
aa27609
..
1c04314
100644
(file)
--- a/
httemplate/elements/tr-select-pkg_class.html
+++ b/
httemplate/elements/tr-select-pkg_class.html
@@
-1,4
+1,4
@@
-% if (
scalar(@{ $opt{'pkg_class'} })
== 0 ) {
+% if (
$count
== 0 ) {
<INPUT TYPE="hidden" NAME="<% $opt{'field'} || 'classnum' %>" VALUE="">
@@
-22,6
+22,6
@@
my %opt = @_;
my $classnum = $opt{'curr_value'} || $opt{'value'};
-$opt{'pkg_class'} ||= [ qsearch( 'pkg_class', {} ) ]; # { disabled=>'' } )
+my $count = scalar( qsearch( 'pkg_class', {} ) );
</%init>