mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Don't assume prehead function exists
This commit is contained in:
@@ -19,7 +19,9 @@ foreach $o (split(/\0/, $in{'open'})) {
|
||||
$open{$o} = 1;
|
||||
}
|
||||
|
||||
&popup_header(undef, &capture_function_output(\&WebminCore::theme_prehead));
|
||||
$prehead = defined(&WebminCore::theme_prehead) ?
|
||||
&capture_function_output(\&WebminCore::theme_prehead) : "";
|
||||
&popup_header(undef, $prehead);
|
||||
print "<center>\n";
|
||||
|
||||
# Webmin logo
|
||||
|
||||
Reference in New Issue
Block a user