Skip to content

Commit 987c504

Browse files
committed
Explicitly cast the int to string
1 parent 90d733b commit 987c504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcfsetup/install/files/lib/system/interaction/user/ReportInteraction.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function isAvailable(DatabaseObject $object): bool
3939
public function render(DatabaseObject $object): string
4040
{
4141
$objectType = StringUtil::encodeHTML($this->objectType);
42-
$objectID = StringUtil::encodeHTML($object->getObjectID());
42+
$objectID = StringUtil::encodeHTML((string)$object->getObjectID());
4343
if (\is_string($this->languageItem)) {
4444
$label = WCF::getLanguage()->get($this->languageItem);
4545
} else {

0 commit comments

Comments
 (0)