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

[livejournal] r17431: LJSUP-6879. We shouldn't display the pag...

Committer: gprochaev
LJSUP-6879. We shouldn't display the page with reason if no users was selected.

U   trunk/htdocs/community/pending.bml
Modified: trunk/htdocs/community/pending.bml
===================================================================
--- trunk/htdocs/community/pending.bml	2010-09-22 09:16:22 UTC (rev 17430)
+++ trunk/htdocs/community/pending.bml	2010-09-22 09:21:45 UTC (rev 17431)
@@ -68,7 +68,7 @@
                 ? "<?h1 $ML{'/community/members.bml.success.header'} h1?><?p $ML{'/community/members.bml.success.message'} p?>"
                 : "<?h1 $ML{'/community/members.bml.success_empty.header'} h1?><?p $ML{'/community/members.bml.success_empty.message'} p?>";
 
-        if ($POST{'reject_select'} eq '1') {
+        if ($POST{'reject_select'} eq '1' and scalar @is_selected) {
             $ret .= '<div class="b-pending">';
 
             unless (scalar @is_selected) {

Tags: bml, livejournal, 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