[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] [PATCH] Interchange fix for Interpolate.pm
****** message to minivend-users from Stefan Hornburg <racke@linuxia.de> ******
This fix cures a runtime error if configuration directive CheckHTML
is set and the flag checkhtml is set.
Runtime error:
192.168.1.2 pyWsIdaF:192.168.1.2 - [04/September/2000:01:15:59 +2600] texbroker /track/texbroker/process/locale/en_US/page/index Runtime error: Can't call method "value" on unblessed reference at /home/racke/mvtrack/lib/Vend/Interpolate.pm line 1739.
>
Patch:
diff -u -c -r1.12 Interpolate.pm
*** Interpolate.pm 2000/09/03 19:48:23 1.12
--- Interpolate.pm 2000/09/03 23:16:40
***************
*** 1736,1742 ****
@status = ("Set build flag: %s name=%s", $value, $Vend::ScanName);
}
elsif($flag eq 'checkhtml') {
! $value = $text if ! defined $opt->value;
$Vend::CheckHTML = $value;
@status = ("Set CheckHTML flag: %s", $value);
}
--- 1736,1742 ----
@status = ("Set build flag: %s name=%s", $value, $Vend::ScanName);
}
elsif($flag eq 'checkhtml') {
! $value = $text if ! defined $opt->{value};
$Vend::CheckHTML = $value;
@status = ("Set CheckHTML flag: %s", $value);
}
Ciao
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list