1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Merge pull request #6418 from turbo124/v5-develop

Fixes for preview
This commit is contained in:
David Bomba 2021-08-06 20:05:24 +10:00 committed by GitHub
commit ef647f493a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -173,8 +173,6 @@ class PreviewController extends BaseController
MultiDB::setDb($company->db);
info("preview db = ".$company->db);
if($request->input('entity') == 'invoice'){
$repo = new InvoiceRepository();
$entity_obj = InvoiceFactory::create($company->id, auth()->user()->id);

View File

@ -54,9 +54,7 @@ class QueryLogging
// if($count > 150)
// nlog($queries);
info(print_r($queries,1));
$ip = '';
if(request()->header('Cf-Connecting-Ip'))