1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01: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:
cp6 2021-02-01 14:12:49 +11:00
parent 9ef12f08b1
commit bdf013ce05

View File

@ -2569,7 +2569,11 @@ class idlers extends helperFunctions
$this->HTMLphrase('p', 'm-desc', 'Attached to');
$this->tagClose('div');
$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>');
} else {
$this->outputString('');
}
$this->tagClose('div', 2);