$r = q("SELECT `username` FROM `user` WHERE `uid`=$uid");
$nickname = json_encode($r[0]["username"]);
$groupchats = get_config('jappixmini','groupchats');
- //if $groupchats has no value jappix_addon_start will have an sytax error
+ //if $groupchats has no value jappix_addon_start will produce a syntax error
if(!isset($groupchats)){
$groupchats = "{}";
}