mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
fixes for preview (#3548)
This commit is contained in:
parent
6a7079b0be
commit
9fb609faca
@ -89,7 +89,10 @@ class PreviewController extends BaseController
|
||||
{
|
||||
if (request()->has('entity') &&
|
||||
request()->has('entity_id') &&
|
||||
strlen(request()->input('entity')) > 1 &&
|
||||
strlen(request()->input('entity_id')) > 1 &&
|
||||
request()->has('body')) {
|
||||
|
||||
$design_object = json_decode(json_encode(request()->input('design')));
|
||||
|
||||
if (!is_object($design_object)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user