rythm_of_samba (rithm_of_samba) wrote in changelog,
rythm_of_samba
rithm_of_samba
changelog

[livejournal] r15609: LJSUP-4741 Duplicate text blocks at user...

Committer: nefimenko
LJSUP-4741 Duplicate text blocks at userpic upload page

U   trunk/htdocs/editpics.bml
Modified: trunk/htdocs/editpics.bml
===================================================================
--- trunk/htdocs/editpics.bml	2009-08-18 07:47:19 UTC (rev 15608)
+++ trunk/htdocs/editpics.bml	2009-08-18 08:35:14 UTC (rev 15609)
@@ -665,11 +665,11 @@
                 };
 
       #  } else {
-      if (scalar @userpics > $max) {
+      if (scalar @userpics >= $max) {
             $body .= "<div id='limit'>\n";
             my $inline;
             if ($inline .= LJ::run_hook("cprod_inline", $u, 'EditPicsMax')) {
-                $body .= $inline;
+                $body .= "";
             } else {
                 $body .= BML::ml('.error.toomanypics_standout', { num => $max });
             }

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