]> git.mxchange.org Git - friendica-addons.git/commitdiff
!isset() check stopped working, empty() might be the better choice anyway
authorhauke <hauke@grlg.org>
Mon, 28 Oct 2013 21:47:48 +0000 (22:47 +0100)
committerhauke <hauke@grlg.org>
Mon, 28 Oct 2013 21:47:48 +0000 (22:47 +0100)
jappixmini/jappixmini.php

index aedbffd0d0d4249999311904d7ad1470b061a058..5f5c53e3921809800905818586c5874cc1b572f2 100644 (file)
@@ -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 = "{}";
     }