aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/chat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/chat.php b/mod/chat.php
index 633ecae22..9ad58bc32 100644
--- a/mod/chat.php
+++ b/mod/chat.php
@@ -67,7 +67,7 @@ function chat_post(&$a) {
intval(local_channel())
);
- create_sync_packet(0, array['chatroom'] => $x);
+ create_sync_packet(0, array('chatroom' => $x));
if($x)
goaway(z_root() . '/chat/' . $channel['channel_address'] . '/' . $x[0]['cr_id']);