Avoid warning "array_merge(): Expected parameter 2 to be an array, null given"
This commit is contained in:
parent
891fb42a23
commit
c05c447d0f
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Apps extends BaseApi
|
|||
if (!empty($postdata)) {
|
||||
$postrequest = json_decode($postdata, true);
|
||||
if (!empty($postrequest) && is_array($postrequest)) {
|
||||
$request = array_merge($request, $$postrequest);
|
||||
$request = array_merge($request, $postrequest);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue