mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-19 17:48:36 +00:00
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
1 changed files with 5 additions and 1 deletions
|
@ -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');
|
||||||
$this->outputString('<code><p class="m-value">' . $this->idToObjectName($data['attached_to']) . '</p></code>');
|
if (!is_null($data['attached_to']) && !empty($data['attached_to'])){
|
||||||
|
$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…
Add table
Reference in a new issue