From 90f1213ef7d273b1fbac1cdf333f68fe36dc3ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 24 Dec 2011 16:59:29 +0100 Subject: [PATCH] Avoiding problem with default-values --- file/lib/util/ChatUtil.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index e06d952..e2e715a 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -71,6 +71,8 @@ class ChatUtil { break; } static::writeUserData(array($field => $data[WCF::getUser()->userID])); + + return $data[WCF::getUser()->userID]; } if (isset(static::$serialize[$field])) return unserialize($data[WCF::getUser()->userID]);