malFormed json without sending
This commit is contained in:
@@ -102,8 +102,9 @@ class Restler extends \Luracast\Restler\Restler
|
||||
} else {
|
||||
$r = $this->inputExecute;
|
||||
}
|
||||
|
||||
$r = $this->requestFormat->decode($r);
|
||||
if(!empty($r)){
|
||||
$r = $this->requestFormat->decode($r);
|
||||
}
|
||||
$r = is_array($r)
|
||||
? array_merge($r, array(Defaults::$fullRequestDataName => $r))
|
||||
: array(Defaults::$fullRequestDataName => $r);
|
||||
|
||||
Reference in New Issue
Block a user