vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r10936: LJSUP-9628: get rid of warnings.

Committer: vad
LJSUP-9628: get rid of warnings.
U   trunk/cgi-bin/LJ/PartnerSite.pm
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2011-08-30 06:36:19 UTC (rev 10935)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2011-08-30 13:54:46 UTC (rev 10936)
@@ -599,9 +599,10 @@
     my $additional_lj_resources = $self->lj_resources;
     LJ::need_res(@$additional_lj_resources) if $additional_lj_resources;
 
-    return 
-        LJ::res_includes( {'only_needed' => 1} ) . 
-        $self->raw_resources($opts);
+    my $res = LJ::res_includes( {'only_needed' => 1} ) || '';
+    my $raw_res = $self->raw_resources($opts) || '';
+    return $res . $raw_res;
+    
 }
 
 sub raw_resources {

Tags: ljcom, pm, vadvs
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