1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-09 00:20:08 +00:00

Fix user online for guests

This commit is contained in:
Tim Düsterhus 2013-05-23 22:40:47 +02:00
parent 3fb212693d
commit a421cc92c5

View File

@ -238,6 +238,8 @@ public function getObjectType() {
* @see wcf\page\ITrackablePage::getObjectID() * @see wcf\page\ITrackablePage::getObjectID()
*/ */
public function getObjectID() { public function getObjectID() {
if ($this->room === null) return 0;
return $this->room->roomID; return $this->room->roomID;
} }
} }