Committer: sbelyaev
LJSUP-10298: Flag is ignored for communityU trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl =================================================================== --- trunk/cgi-bin/ljprotocol.pl 2012-02-29 12:48:41 UTC (rev 21270) +++ trunk/cgi-bin/ljprotocol.pl 2012-02-29 13:15:11 UTC (rev 21271) @@ -2203,6 +2203,10 @@ my $event = $req->{'event'}; + if ($uowner->is_community) { + delete $req->{'props'}->{'opt_backdated'}; + } + ### allow for posting to journals that aren't yours (if you have permission) my $posterid = $u->{'userid'}+0; @@ -2851,6 +2855,10 @@ my $qallowmask = $req->{'allowmask'}+0; my $sth; + if ($uowner->is_community) { + delete $req->{'props'}->{'opt_backdated'}; + } + my $itemid = $req->{'itemid'}+0; $itemid ||= int( ($req->{'ditemid'} + 0) / 256);