Committer: anazarov
LJSV-1775: Change_journal_type appoint user to the wrong roleU trunk/cgi-bin/LJ/Console/Command/ChangeJournalType.pm
Modified: trunk/cgi-bin/LJ/Console/Command/ChangeJournalType.pm =================================================================== --- trunk/cgi-bin/LJ/Console/Command/ChangeJournalType.pm 2011-10-13 14:03:46 UTC (rev 20307) +++ trunk/cgi-bin/LJ/Console/Command/ChangeJournalType.pm 2011-10-13 15:19:43 UTC (rev 20308) @@ -124,7 +124,7 @@ # give the owner access } else { - LJ::set_rel_multi( [$u->id, $ou->id, 'A'], [$u->id, $ou->id, 'P'] ); + LJ::set_rel_multi( [$u->id, $ou->id, 'S'], [$u->id, $ou->id, 'P'] ); } LJ::run_hook("change_journal_type", $u);