- 'url' => $data["url"],
- 'nurl' => Strings::normaliseLink($data["url"]),
- 'addr' => $data["addr"],
- 'alias' => $data["alias"],
- 'notify' => $data["notify"],
- 'poll' => $data["poll"],
- 'name' => $data["name"],
- 'nick' => $data["nick"],
- 'photo' => $data["photo"],
- 'keywords' => $data["keywords"],
- 'location' => $data["location"],
- 'about' => $data["about"],
- 'network' => $data["network"],
- 'pubkey' => $data["pubkey"],
+ 'url' => $data['url'],
+ 'nurl' => Strings::normaliseLink($data['url']),
+ 'addr' => defaults($data, 'addr', ''),
+ 'alias' => defaults($data, 'alias', ''),
+ 'notify' => defaults($data, 'notify', ''),
+ 'poll' => defaults($data, 'poll', ''),
+ 'name' => defaults($data, 'name', ''),
+ 'nick' => defaults($data, 'nick', ''),
+ 'photo' => defaults($data, 'photo', ''),
+ 'keywords' => defaults($data, 'keywords', ''),
+ 'location' => defaults($data, 'location', ''),
+ 'about' => defaults($data, 'about', ''),
+ 'network' => $data['network'],
+ 'pubkey' => defaults($data, 'pubkey', ''),