Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r15015: LJSUP-4036: Add 'Russian Support' catego...

Committer: gariev
LJSUP-4036: Add 'Russian Support' category to the list at http://www.livejournal.com/support/submit.bml

U   trunk/cgi-bin/LJ/Widget/SubmitRequest.pm
Modified: trunk/cgi-bin/LJ/Widget/SubmitRequest.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/SubmitRequest.pm	2009-03-18 08:57:50 UTC (rev 15014)
+++ trunk/cgi-bin/LJ/Widget/SubmitRequest.pm	2009-03-18 09:03:05 UTC (rev 15015)
@@ -66,8 +66,9 @@
             next unless $_->{is_selectable};
             push @choices, $_->{spcatid}, $_->{catname};
         }
-
-        $ret .= $class->html_select(name => 'spcatid', list => \@choices, selected => $post->{spcatid});
+        my $selected = $post->{spcatid};
+        LJ::run_hook("support_request_extra_cat", \@choices, \$selected, $cats);
+        $ret .= $class->html_select(name => 'spcatid', list => \@choices, selected => $selected);
         $ret .= LJ::run_hook("support_request_cat_extra_text");
         $ret .= "</div></p>";
     }

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