mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Skip empty domains in iSchedule setup page
This commit is contained in:
parent
f47ad7b669
commit
6ee0df101e
@ -86,6 +86,8 @@ include("classBrowser.php");
|
||||
|
||||
function SRVOk ( $value, $name, $row ) {
|
||||
global $BrowserCurrentRow;
|
||||
if ( $BrowserCurrentRow->domain = '' )
|
||||
return ''; // skip empty rows
|
||||
$s = new iSchedule();
|
||||
$s->domain = $BrowserCurrentRow->domain;
|
||||
return translate( ( $s->getServer()?'OK': SRVFormat ( $s->domain ) ) );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user