mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
Merge pull request #7961 from turbo124/v5-develop
Escape variables in custom email designs
This commit is contained in:
commit
58c697e36d
@ -108,6 +108,8 @@ class UpdateCompanyRequest extends Request
|
||||
}
|
||||
}
|
||||
|
||||
$settings['email_style_custom'] = str_replace("{{", "", $settings['email_style_custom']);
|
||||
|
||||
if (! $account->isFreeHostedClient()) {
|
||||
return $settings;
|
||||
}
|
||||
|
@ -14,18 +14,13 @@ namespace App\Listeners\Invoice;
|
||||
use App\Libraries\MultiDB;
|
||||
use App\Models\Activity;
|
||||
use App\Repositories\ActivityRepository;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use stdClass;
|
||||
|
||||
class InvoiceEmailFailedActivity implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public $delay = 10;
|
||||
// public $delay = 10;
|
||||
|
||||
protected $activity_repo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user