forked from extern/egroupware
Instead of adding a default port in the form, set one based on the default_db_ports var in manageheader.php
This commit is contained in:
parent
cb6c130046
commit
53352e87eb
@ -41,6 +41,11 @@
|
||||
{
|
||||
$GLOBALS['header_template']->set_var(strtoupper($x),$y);
|
||||
}
|
||||
/* If the admin didn't select a db_port, set to the default */
|
||||
if(!$dom['db_port'])
|
||||
{
|
||||
$GLOBALS['header_template']->set_var('DB_PORT',$GLOBALS['default_db_ports'][$dom['db_type']]);
|
||||
}
|
||||
$GLOBALS['header_template']->parse('domains','domain',True);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user