mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 20:10:19 +01:00
Only echo JSONResponse if it's non-empty
This commit is contained in:
parent
933be21758
commit
22f2b5599b
@ -256,7 +256,11 @@ class egw_json_response
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $inst->getJSON();
|
if($inst->haveJSONResponse())
|
||||||
|
{
|
||||||
|
echo $inst->getJSON();
|
||||||
|
$inst->initResponseArray();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user