Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[fotobilder] r1467: LJSUP-11945 (API didnt create new album)

Committer: ailyin
LJSUP-11945 (API didnt create new album)
U   trunk/lib/FB/Protocol/Fotki/UploadPic.pm
Modified: trunk/lib/FB/Protocol/Fotki/UploadPic.pm
===================================================================
--- trunk/lib/FB/Protocol/Fotki/UploadPic.pm	2012-04-25 11:52:29 UTC (rev 1466)
+++ trunk/lib/FB/Protocol/Fotki/UploadPic.pm	2012-04-26 06:55:10 UTC (rev 1467)
@@ -204,7 +204,7 @@
             ($album) = grep { $_->album_title eq $album_title } @albums;
 
             unless ($album) {
-                my $galsec = $galvar->{'GalSec'};
+                my $galsec = $galvar->{'GalSec'} || 255;
 
                 my ( $security, $allowmask ) =
                     FB::Protocol::Fotki->fb2lj_security($galsec);

Tags: ailyin, andy, fotobilder, 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