mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-24 17:36:39 +00:00
A more robust way of checking empty.
This commit is contained in:
parent
14c695c45a
commit
092cef63ca
@ -86,8 +86,7 @@ include("classBrowser.php");
|
||||
|
||||
function SRVOk ( $value, $name, $row ) {
|
||||
global $BrowserCurrentRow;
|
||||
if ( $BrowserCurrentRow->domain == '' )
|
||||
return ''; // skip empty rows
|
||||
if ( empty($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