diff options
author | ivan <ivan> | 2004-01-03 08:42:10 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-01-03 08:42:10 +0000 |
commit | c58132f6a26349d09744ef2b3b235dfb7c3757f6 (patch) | |
tree | 29683bf6af634e9012f8c4f2b455f29b56a34679 /httemplate/browse/agent.cgi | |
parent | e728f9664160d943e02657dd9d83aa1bb7d8e5f4 (diff) |
fix heading colspan when there is no agent.disabled column
Diffstat (limited to 'httemplate/browse/agent.cgi')
-rwxr-xr-x | httemplate/browse/agent.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index 44343e15c..2eef5bb91 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -55,7 +55,7 @@ full offerings (via their type).<BR><BR> <%= table() %> <TR> - <TH COLSPAN=<%= $cgi->param('showdisabled') ? 2 : 3 %>>Agent</TH> + <TH COLSPAN=<%= ( $cgi->param('showdisabled') || !dbdef->table('agent')->column('disabled') ) ? 2 : 3 %>>Agent</TH> <TH>Type</TH> <TH>Customers</TH> <TH><FONT SIZE=-1>Freq.</FONT></TH> |