git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wimp: Catch possibe use of undefined variable
[videosite.git]
/
videosite
/
WimpGrabber.pm
diff --git
a/videosite/WimpGrabber.pm
b/videosite/WimpGrabber.pm
index
c424760
..
c4f259f
100644
(file)
--- a/
videosite/WimpGrabber.pm
+++ b/
videosite/WimpGrabber.pm
@@
-63,7
+63,7
@@
sub _parse {
# Look for the title in the meta tags
foreach $e (@accum) {
- if ('meta' eq $e->[0]) {
+ if ('meta' eq $e->[0]
and exists($e->[1]->{'name'})
) {
if ('description' eq $e->[1]->{'name'}) {
$metadata->{'TITLE'} = $e->[1]->{'content'};
last;