[ljcom] r9327: LJSUP-6433: If the user deletes himself ...
Committer: gariev
LJSUP-6433: If the user deletes himself he must be able to chose whether to purge his content or notBugfix
U trunk/cgi-bin/LJ/UserManage.pm
Modified: trunk/cgi-bin/LJ/UserManage.pm
===================================================================
--- trunk/cgi-bin/LJ/UserManage.pm 2010-08-10 09:00:01 UTC (rev 9326)
+++ trunk/cgi-bin/LJ/UserManage.pm 2010-08-11 01:49:07 UTC (rev 9327)
@@ -359,7 +359,7 @@
foreach my $journal (keys %LJ::JOURNALS_WITH_PROTECTED_CONTENT) {
my $journalu = LJ::load_user($journal);
next unless $journalu;
- push @protected_jorunals_ids, $journalu->{id};
+ push @protected_jorunals_ids, $journalu->{'userid'};
}
return (@protected_jorunals_ids)
? 'AND NOT journalid IN (' . join(', ', @protected_jorunals_ids) . ')'
