holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22863: LJSUP-13575: Create a new vote for 15, S...

Committer: akanashin
LJSUP-13575: Create a new vote for 15, September
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-09-11 13:46:57 UTC (rev 22862)
+++ trunk/cgi-bin/cleanhtml.pl	2012-09-11 13:49:55 UTC (rev 22863)
@@ -855,7 +855,9 @@
             }
             elsif ($tag eq "lj-cvk-poll") 
             {
-                $newdata .= Encode::decode_utf8(LJ::Controller::CVK->widget->raw_output);
+                if (my $widget = LJ::Controller::CVK->widget) {
+                    $newdata .= Encode::decode_utf8($widget->raw_output);
+                }
             }
             elsif ( $tag eq 'lj-like' ) {
                 next TOKEN if $opts->{'textonly'};

Tags: akanashin, holyandrew, livejournal, pl
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