mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Avoiding problem with default-values
This commit is contained in:
parent
7b2eb83640
commit
90f1213ef7
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user