mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-19 21:03:41 +00:00
!isset() check stopped working, empty() might be the better choice anyway
This commit is contained in:
parent
4a66fd3c8b
commit
609d740b2f
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ function jappixmini_script(&$a,&$s) {
|
||||||
$nickname = json_encode($r[0]["username"]);
|
$nickname = json_encode($r[0]["username"]);
|
||||||
$groupchats = get_config('jappixmini','groupchats');
|
$groupchats = get_config('jappixmini','groupchats');
|
||||||
//if $groupchats has no value jappix_addon_start will produce a syntax error
|
//if $groupchats has no value jappix_addon_start will produce a syntax error
|
||||||
if(!isset($groupchats)){
|
if(empty($groupchats)){
|
||||||
$groupchats = "{}";
|
$groupchats = "{}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue