Changeset 102

Show
Ignore:
Timestamp:
10/18/06 21:00:50 (7 years ago)
Author:
max
Message:

Stop a bunch of warnings in the ABC grabbers.

Location:
grabbers
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • grabbers/abc2_website

    r49 r102  
    338338                                $event_title =~ s/(^\n|\n$)//g;         # strip trailing/leading blank lines 
    339339 
    340                                 $event_subtitle =~ s/(<[\/a-zA-Z0-9]+\>)//g;    # remove html tags 
    341                                 $event_subtitle =~ s/(^\n|\n$)//g;              # strip trailing/leading blank lines 
     340                                if ($event_subtitle) { 
     341                                    $event_subtitle =~ s/(<[\/a-zA-Z0-9]+\>)//g;        # remove html tags 
     342                                    $event_subtitle =~ s/(^\n|\n$)//g;          # strip trailing/leading blank lines 
     343                                } 
    342344                        } 
    343345                         
  • grabbers/abc_website

    r49 r102  
    336336                                $event_title =~ s/(^\n|\n$)//g;         # strip trailing/leading blank lines 
    337337 
    338                                 $event_subtitle =~ s/(<[\/a-zA-Z0-9]+\>)//g;    # remove html tags 
    339                                 $event_subtitle =~ s/(^\n|\n$)//g;              # strip trailing/leading blank lines 
     338                                if ($event_subtitle) { 
     339                                    $event_subtitle =~ s/(<[\/a-zA-Z0-9]+\>)//g;        # remove html tags 
     340                                    $event_subtitle =~ s/(^\n|\n$)//g;          # strip trailing/leading blank lines 
     341                                } 
    340342                        } 
    341343