[livejournal] r18871: LJSUP-8564 (bring identity users back to...
Committer: ailyin
LJSUP-8564 (bring identity users back to journal after authentication): do not fail to handle protected entriesU trunk/cgi-bin/LJ/S2/EntryPage.pm
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm 2011-04-14 02:12:59 UTC (rev 18870)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2011-04-14 02:28:10 UTC (rev 18871)
@@ -32,8 +32,6 @@
my ($entry, $s2entry) = EntryPage_entry($u, $remote, $opts);
- $p->{'page_id'} = 'journal-' . $u->username . '-' . $entry->ditemid;
-
return if $opts->{'suspendeduser'};
return if $opts->{'suspendedentry'};
return if $opts->{'readonlyremote'};
@@ -41,6 +39,7 @@
return if $opts->{'handler_return'};
return if $opts->{'redir'};
+ $p->{'page_id'} = 'journal-' . $u->username . '-' . $entry->ditemid;
$p->{'multiform_on'} = $entry->comments_manageable_by($remote);
my $itemid = $entry->jitemid;
