mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
minor fixes
This commit is contained in:
parent
0c95361116
commit
3c50b27858
@ -67,7 +67,6 @@ class Handler extends ExceptionHandler
|
||||
];
|
||||
|
||||
protected $hostedDontReport = [
|
||||
PDOException::class,
|
||||
MaxAttemptsExceededException::class,
|
||||
CommandNotFoundException::class,
|
||||
ValidationException::class,
|
||||
|
@ -108,6 +108,7 @@ class InvoiceExport extends BaseExport
|
||||
|
||||
//load the CSV document from a string
|
||||
$this->csv = Writer::createFromString();
|
||||
\League\Csv\CharsetConverter::addTo($this->csv, 'UTF-8', 'UTF-8');
|
||||
|
||||
//insert the header
|
||||
$this->csv->insertOne($this->buildHeader());
|
||||
|
@ -145,7 +145,7 @@ class UpdatePaymentMethods
|
||||
|
||||
public function importBankAccounts($customer, $client)
|
||||
{
|
||||
$sources = $customer->sources;
|
||||
$sources = $customer->sources ?? false;
|
||||
|
||||
if (!$customer || is_null($sources) || !property_exists($sources, 'data')) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user