1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fix WCF 2.1 compatibility

This commit is contained in:
Tim Düsterhus 2014-11-15 16:19:53 +01:00
parent 79196bade9
commit 2400564500

View File

@ -134,7 +134,7 @@ public function readData() {
}
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);
}
}