mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix WCF 2.1 compatibility
This commit is contained in:
parent
79196bade9
commit
2400564500
@ -134,7 +134,7 @@ public function readData() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (MODULE_ATTACHMENT) {
|
if (MODULE_ATTACHMENT) {
|
||||||
$this->attachmentHandler = new \wcf\system\attachment\AttachmentHandler('be.bastelstu.chat.message', 0, '', 0);
|
$this->attachmentHandler = new \wcf\system\attachment\AttachmentHandler('be.bastelstu.chat.message', 0, \wcf\util\StringUtil::getRandomID(), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user