fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-10-02 04:40 pm

[dw-free] Some entries don't get the right icons when importing

[commit: http://hg.dwscoalition.org/dw-free/rev/1f9318482d9d]

http://bugs.dwscoalition.org/show_bug.cgi?id=2455

Allow inactive icons (and those keywords with no corresponding icons) to be
imported.

Patch by [personal profile] exor674.

Files modified:
  • cgi-bin/ljprotocol.pl
--------------------------------------------------------------------------------
diff -r c4e64102ea42 -r 1f9318482d9d cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl	Sun Oct 03 00:03:48 2010 +0800
+++ b/cgi-bin/ljprotocol.pl	Sun Oct 03 00:39:27 2010 +0800
@@ -1133,6 +1133,7 @@ sub postevent
         $flags->{usejournal_okay} = 1;
         $flags->{no_xpost} = 1;
         $flags->{create_unknown_picture_mapid} = 1;
+        $flags->{allow_inactive} = 1;
     }
 
     return undef unless LJ::Hooks::run_hook('post_noauth', $req) || authenticate($req, $err, $flags);
--------------------------------------------------------------------------------