diff --git a/class.php b/class.php index bedd85b..04eb670 100644 --- a/class.php +++ b/class.php @@ -2569,7 +2569,11 @@ class idlers extends helperFunctions $this->HTMLphrase('p', 'm-desc', 'Attached to'); $this->tagClose('div'); $this->colOpen('col-8'); - $this->outputString('

' . $this->idToObjectName($data['attached_to']) . '

'); + if (!is_null($data['attached_to']) && !empty($data['attached_to'])){ + $this->outputString('

' . $this->idToObjectName($data['attached_to']) . '

'); + } else { + $this->outputString(''); + } $this->tagClose('div', 2);