projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import torrus 1.0.9
[freeside.git]
/
httemplate
/
edit
/
elements
/
class_Common.html
diff --git
a/httemplate/edit/elements/class_Common.html
b/httemplate/edit/elements/class_Common.html
index
b5f4939
..
e6334fe
100644
(file)
--- a/
httemplate/edit/elements/class_Common.html
+++ b/
httemplate/edit/elements/class_Common.html
@@
-26,7
+26,11
@@
die "access denied"
my %opt = @_;
my $table = $opt{'table'};
my %opt = @_;
my $table = $opt{'table'};
-( my $category_table = $table ) =~ s/class/category/ or die;
-my @category = qsearch($category_table, { 'disabled' => '' });
+my @category;
+unless ( $opt{'nocat'} ) {
+ ( my $category_table = $table ) =~ s/class/category/ or die;
+ @category = qsearch($category_table, { 'disabled' => '' });
+}
+
</%init>
</%init>