[dw-free] Enable talk_ip_test banning from spamreports view
[commit: http://hg.dwscoalition.org/dw-free/rev/24d531b41e6a]
http://bugs.dwscoalition.org/show_bug.cgi?id=1316
Fix form.
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1316
Fix form.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- htdocs/admin/spamreports.bml
-------------------------------------------------------------------------------- diff -r b7d930ef3c1c -r 24d531b41e6a htdocs/admin/spamreports.bml --- a/htdocs/admin/spamreports.bml Sat Jun 27 11:55:41 2009 +0000 +++ b/htdocs/admin/spamreports.bml Sat Jun 27 12:51:08 2009 +0000 @@ -233,8 +233,7 @@ $in = "'$in'"; if ($POST{'sysban_ip'} && !LJ::sysban_validate("talk_ip_test", $POST{'sysban_ip'})) { - LJ::sysban_create('what' => 'talk_ip_test', value => $POST{'sysban_ip'}, - 'banlength' => 0, note => "anonymous spamreports"); + LJ::sysban_create('what' => 'talk_ip_test', 'value' => $POST{'sysban_ip'}, 'bandays' => 0, 'note' => 'anonymous spamreports'); } $count = $dbh->do("UPDATE spamreports SET state='closed' WHERE srid IN($in) AND state='open'"); --------------------------------------------------------------------------------