Show
Ignore:
Timestamp:
05/29/08 09:05:30 (5 years ago)
Author:
tokuhirom
Message:

oops

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/mobirc/trunk/lib/App/Mobirc/Plugin/DocRoot.pm

    r12672 r12673  
    8080    } 
    8181    for my $elem ($doc->findnodes('//script')) { 
    82         $elem->setAttribute(src => $root . $elem->getAttribute('src')); 
     82        if ($elem->hasAttribute('src')) { 
     83            $elem->setAttribute(src => $root . $elem->getAttribute('src')); 
     84        } 
    8385    } 
    8486