From 609d740b2fe63538a098cfe564a675f96b47a0f9 Mon Sep 17 00:00:00 2001 From: hauke Date: Mon, 28 Oct 2013 22:47:48 +0100 Subject: [PATCH] !isset() check stopped working, empty() might be the better choice anyway --- jappixmini/jappixmini.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "{}"; }