diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-27 14:06:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:51 -0500 |
commit | bcfef9f04b694d38130beaf6184db7064132c9f3 (patch) | |
tree | 70b7c22ba5e0aa2feec018a3b03749675ced471b /source4/selftest | |
parent | 349cc1e14b5d6c3225427f76c8703ab7537b6daa (diff) | |
download | samba-bcfef9f04b694d38130beaf6184db7064132c9f3.tar.gz samba-bcfef9f04b694d38130beaf6184db7064132c9f3.tar.bz2 samba-bcfef9f04b694d38130beaf6184db7064132c9f3.zip |
r24705: Avoid undefined value warnings.
(This used to be commit 10f266e4d6a821a91bfa612d744eb7a4bab4ba6a)
Diffstat (limited to 'source4/selftest')
-rw-r--r-- | source4/selftest/output/html.pm | 6 |
1 files changed, 5 insertions, 1 deletions
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 "<tr>\n"; print SUMMARY " <td><a href=\"" . $$_[0] . "\">$$_[2]</a></td>\n"; print SUMMARY " <td><a href=\"" . $$_[0] . "#$$_[1]\">$$_[1]</a></td>\n"; - print SUMMARY " <td>$$_[3]</td>\n"; + if (defined($$_[3])) { + print SUMMARY " <td>$$_[3]</td>\n"; + } else { + print SUMMARY " <td></td>\n"; + } print SUMMARY "</tr>\n"; } |