]> git.mxchange.org Git - friendica-addons.git/commitdiff
Merge pull request #160 from tugelbend/master
authortobiasd <tobias.diekershoff@gmx.net>
Tue, 29 Oct 2013 05:46:17 +0000 (22:46 -0700)
committertobiasd <tobias.diekershoff@gmx.net>
Tue, 29 Oct 2013 05:46:17 +0000 (22:46 -0700)
!isset() check stopped working, the empty check works (for now)

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 = "{}";
     }