aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-23 10:31:20 +0100
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-23 10:31:20 +0100
commit90dc9ca46d8cae9def26a0414311eab8c2549aa1 (patch)
tree3047de95a548291e64338c57a5834a830d7fd216 /lib
parent5511fa1152f8a2e7a24ab7d3710174d14b4751a3 (diff)
IE fixes.
Diffstat (limited to 'lib')
-rw-r--r--lib/LXRng/Context.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/LXRng/Context.pm b/lib/LXRng/Context.pm
index db486bf..d316ede 100644
--- a/lib/LXRng/Context.pm
+++ b/lib/LXRng/Context.pm
@@ -90,7 +90,8 @@ sub new {
}
if (exists $$self{'params'}{'v'} and $$self{'params'}{'v'}) {
- $$self{'release'} ||= $$self{'params'}{'v'}[0];
+ $$self{'release'} ||= $$self{'params'}{'v'}[0]
+ if $$self{'params'}{'v'}[0] ne 'undefined';
delete($$self{'params'}{'v'});
}