Merge pull request #160 from tugelbend/master

!isset() check stopped working, the empty check works (for now)
pull/162/head
tobiasd 2013-10-28 22:46:17 -07:00
commit 33c3435d3d
1 changed files with 1 additions and 1 deletions

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