Patch by mark. 

diffs (12 lines):

diff -r f10d98c9b5a6 -r f73610f26ec3 htdocs/interests.bml
--- a/htdocs/interests.bml      Mon Jul 27 03:17:53 2009 +0000
+++ b/htdocs/interests.bml      Mon Jul 27 04:06:59 2009 +0000
@@ -26,7 +26,7 @@ body<=
 
     my $remote = LJ::get_remote();
 
-    my $maxinterests = $remote->get_cap( 'interests' );
+    my $maxinterests = $remote ? $remote->get_cap( 'interests' ) : 0;
 
     my $table = sub { $_[0]->{'journaltype'} eq 'C' ? 'comminterests' : 
'userinterests' };
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to