From 4d9254ff709e1925211e62cee480cf287d52a74a Mon Sep 17 00:00:00 2001 From: Yorhel Date: Mon, 1 Feb 2010 18:36:27 +0100 Subject: Added notification for database deletions to users who contributed Complex queries... --- lib/VNDB/Handler/Users.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm index 7ab21336..f25e74c1 100644 --- a/lib/VNDB/Handler/Users.pm +++ b/lib/VNDB/Handler/Users.pm @@ -593,8 +593,9 @@ sub notifies { td class => 'tc5', onclick => qq|javascript:location.href="/u$uid/notify/$l->{id}"|; lit mt '_usern_n_'.( $l->{ltype} eq 't' ? ($l->{subid} == 1 ? 't_new' : 't_reply') - : die("unknown notification type")), + : 'item_edit'), sprintf('%s', xml_escape $l->{c_title}), sprintf('%s', xml_escape $l->{username}); + sprintf('%s', xml_escape $l->{title}), sprintf('%s', xml_escape $l->{subtitle}); end; end; }, -- cgit v1.2.3