Do not attempt to show page title when it is not set.
This commit is contained in:
@@ -38,9 +38,9 @@ if ($mode == 'edit' && $server_exists) {
|
|||||||
$page_title = $GLOBALS['strSetupServersAdd'];
|
$page_title = $GLOBALS['strSetupServersAdd'];
|
||||||
$id = 0;
|
$id = 0;
|
||||||
}
|
}
|
||||||
?>
|
if (isset($page_title)) {
|
||||||
<h2><?php echo $page_title ?></h2>
|
echo '<h2>' . $page_title . '</h2>';
|
||||||
<?php
|
}
|
||||||
$form_display = new FormDisplay();
|
$form_display = new FormDisplay();
|
||||||
$form_display->registerForm('Server', $id);
|
$form_display->registerForm('Server', $id);
|
||||||
$form_display->registerForm('Server_login_options', $id);
|
$form_display->registerForm('Server_login_options', $id);
|
||||||
|
Reference in New Issue
Block a user