From bcfef9f04b694d38130beaf6184db7064132c9f3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 27 Aug 2007 14:06:25 +0000 Subject: r24705: Avoid undefined value warnings. (This used to be commit 10f266e4d6a821a91bfa612d744eb7a4bab4ba6a) --- source4/selftest/output/html.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/selftest/output/html.pm b/source4/selftest/output/html.pm index a88788fd14..156b5b98c7 100644 --- a/source4/selftest/output/html.pm +++ b/source4/selftest/output/html.pm @@ -283,7 +283,11 @@ sub summary($) print SUMMARY "\n"; print SUMMARY " $$_[2]\n"; print SUMMARY " $$_[1]\n"; - print SUMMARY " $$_[3]\n"; + if (defined($$_[3])) { + print SUMMARY " $$_[3]\n"; + } else { + print SUMMARY " \n"; + } print SUMMARY "\n"; } -- cgit