Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r20308: LJSV-1775: Change_journal_type appoint u...

Committer: anazarov
LJSV-1775: Change_journal_type appoint user to the wrong role
U   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);

Tags: anazarov, livejournal, nfokz, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments