From: hauke Date: Mon, 28 Oct 2013 21:47:48 +0000 (+0100) Subject: !isset() check stopped working, empty() might be the better choice anyway X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=609d740b2fe63538a098cfe564a675f96b47a0f9;p=friendica-addons.git !isset() check stopped working, empty() might be the better choice anyway --- diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php index aedbffd0..5f5c53e3 100644 --- a/jappixmini/jappixmini.php +++ b/jappixmini/jappixmini.php @@ -500,7 +500,7 @@ function jappixmini_script(&$a,&$s) { $nickname = json_encode($r[0]["username"]); $groupchats = get_config('jappixmini','groupchats'); //if $groupchats has no value jappix_addon_start will produce a syntax error - if(!isset($groupchats)){ + if(empty($groupchats)){ $groupchats = "{}"; }