Merge pull request #6348 from turbo124/v5-develop
Fixes for live preview
This commit is contained in:
commit
0d26f35a25
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class PreviewController extends BaseController
|
|||
|
||||
App::forgetInstance('translator');
|
||||
$t = app('translator');
|
||||
App::setLocale($entity_obj->client->primary_contact()->first()->preferredLocale());
|
||||
App::setLocale($entity_obj->client->contacts()->first()->preferredLocale());
|
||||
$t->replace(Ninja::transformTranslations($entity_obj->client->getMergedSettings()));
|
||||
|
||||
$html = new HtmlEngine($entity_obj->invitations()->first());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue