wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r20907: LJSUP-10974: Cannot create new album

Committer: gprochaev
LJSUP-10974: Cannot create new album

U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-01-16 11:59:12 UTC (rev 20906)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-01-16 13:29:41 UTC (rev 20907)
@@ -1581,7 +1581,7 @@
     $insert_photos = [ grep { $_ } map {
             my $photo = $_;
 
-            my $res = $photo && $photo->is_valid ? {
+            my $res = $photo ? {
                 photo_desc  => $photo->prop('description'),
                 photo_title => $photo->prop('title'),
                 photo_url   => $photo->image_url( 'size' => @photos > 1 ? 100 : 600 ),

Tags: gprochaev, livejournal, pm, wisest-owl
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