Fixed attach domain too error when null
Fixed attach domain too error when null and vieing more info modal
This commit is contained in:
parent
9ef12f08b1
commit
bdf013ce05
|
@ -2569,7 +2569,11 @@ class idlers extends helperFunctions
|
||||||
$this->HTMLphrase('p', 'm-desc', 'Attached to');
|
$this->HTMLphrase('p', 'm-desc', 'Attached to');
|
||||||
$this->tagClose('div');
|
$this->tagClose('div');
|
||||||
$this->colOpen('col-8');
|
$this->colOpen('col-8');
|
||||||
|
if (!is_null($data['attached_to']) && !empty($data['attached_to'])){
|
||||||
$this->outputString('<code><p class="m-value">' . $this->idToObjectName($data['attached_to']) . '</p></code>');
|
$this->outputString('<code><p class="m-value">' . $this->idToObjectName($data['attached_to']) . '</p></code>');
|
||||||
|
} else {
|
||||||
|
$this->outputString('');
|
||||||
|
}
|
||||||
$this->tagClose('div', 2);
|
$this->tagClose('div', 2);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user