From c744a0ed6faa5df6d93b23f420b87954c204d417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 5 Dec 2011 20:25:18 +0100 Subject: [PATCH 1/3] Fixing toString of ChatRoom --- file/lib/data/chat/room/ChatRoom.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/data/chat/room/ChatRoom.class.php b/file/lib/data/chat/room/ChatRoom.class.php index 594e8ae..0c8b62a 100644 --- a/file/lib/data/chat/room/ChatRoom.class.php +++ b/file/lib/data/chat/room/ChatRoom.class.php @@ -57,7 +57,7 @@ public static function clearCache() { * @see \wcf\data\chat\room\ChatRoom::getTitle(); */ public function __tostring() { - return $this->getTitle; + return $this->getTitle(); } /** From 29cdce2e674e0c52e95445f6d9042b628a7b289d Mon Sep 17 00:00:00 2001 From: max-m Date: Fri, 9 Dec 2011 19:50:21 +0100 Subject: [PATCH 2/3] Added option.xml --- option.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 option.xml diff --git a/option.xml b/option.xml new file mode 100644 index 0000000..8b467f8 --- /dev/null +++ b/option.xml @@ -0,0 +1,19 @@ + + + + + + + chat + + + + + + + + \ No newline at end of file From 7ead2148e40306ea8c2df0522831a6de4c498dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 9 Dec 2011 23:42:16 +0100 Subject: [PATCH 3/3] Renaming __tostring to __toString --- file/lib/data/chat/room/ChatRoom.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/data/chat/room/ChatRoom.class.php b/file/lib/data/chat/room/ChatRoom.class.php index 0c8b62a..4a4ed0d 100644 --- a/file/lib/data/chat/room/ChatRoom.class.php +++ b/file/lib/data/chat/room/ChatRoom.class.php @@ -56,7 +56,7 @@ public static function clearCache() { /** * @see \wcf\data\chat\room\ChatRoom::getTitle(); */ - public function __tostring() { + public function __toString() { return $this->getTitle(); }