aboutsummaryrefslogtreecommitdiffstats
path: root/web-admin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 12:53:26 +0100
committerMatthew Somerville <matthew@cake.ukcod.org.uk>2010-04-20 12:53:26 +0100
commit14a360acc05de5aaf043a91c55235a05be8d3053 (patch)
tree33c21ac4e9a5b380449fdbf00147fd7016d383e5 /web-admin
parentb56e2cca47bf25705e9fc8447bcb273dd60dd42c (diff)
Deref.
Diffstat (limited to 'web-admin')
-rwxr-xr-xweb-admin/index.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi
index fd635157f..46a8645b0 100755
--- a/web-admin/index.cgi
+++ b/web-admin/index.cgi
@@ -662,7 +662,7 @@ sub admin_show_updates {
}
my $cobrand = $_->{cobrand} . '<br>' . $_->{cobrand_data};
my $attr = {};
- $attr{-class} = 'hidden' if $_->{state} eq 'hidden';
+ $attr->{-class} = 'hidden' if $_->{state} eq 'hidden';
print $q->Tr($attr, $q->td([ $url, $_->{state}, ent($_->{name} || ''),
ent($_->{email}), $_->{created}, $cobrand, ent($_->{text}),
$q->a({ -href => NewURL($q, page=>'update_edit', id=>$_->{id}) }, 'Edit')