mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
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