mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-21 01:54:23 +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 ) {
|
function SRVOk ( $value, $name, $row ) {
|
||||||
global $BrowserCurrentRow;
|
global $BrowserCurrentRow;
|
||||||
|
if ( $BrowserCurrentRow->domain = '' )
|
||||||
|
return ''; // skip empty rows
|
||||||
$s = new iSchedule();
|
$s = new iSchedule();
|
||||||
$s->domain = $BrowserCurrentRow->domain;
|
$s->domain = $BrowserCurrentRow->domain;
|
||||||
return translate( ( $s->getServer()?'OK': SRVFormat ( $s->domain ) ) );
|
return translate( ( $s->getServer()?'OK': SRVFormat ( $s->domain ) ) );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user