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 @@ public static function readUserData($field) { 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]);