From 6181396aed78196fdff45033de7b59d6a2fcd6c1 Mon Sep 17 00:00:00 2001 From: minima Date: Mon, 16 Jan 2006 13:55:26 +0000 Subject: [PATCH] fix uninitialised variable in non-xml installations --- perl/DXProtout.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 31c9a7fc..657057c9 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -123,7 +123,8 @@ sub pc17 # Request init string sub pc18 { - my $flags = " xml" if $handle_xml; + my $flags = ""; + $flags .= " xml" if $handle_xml; return "PC18^DXSpider Version: $main::version Build: $main::build$flags^$DXProt::myprot_version^"; } -- 2.34.1