!isset() check stopped working, the empty check works (for now) #160

Merged
tugelbend merged 2 commits from master into master 2013-10-29 06:46:17 +01:00
Showing only changes of commit 87d1a75941 - Show all commits

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