Closed lightingraven closed 1 year ago
There is a bad validation on the line 22377 of Mpdf.php
<?php if ($table['background-image']['gradient'] && preg_match('/(-moz-)*(repeating-)*(linear|radial)-gradient/', $table['background-image']['gradient'])) {
<?php if (isset($table['background-image']['gradient']) && preg_match('/(-moz-)*(repeating-)*(linear|radial)-gradient/', $table['background-image']['gradient'])) {
Otherwise, you get the error Undefined index: gradient
Undefined index: gradient
The issue is missing sample code to reproduce.
Can be reopened once the sample is added.
There is a bad validation on the line 22377 of Mpdf.php
Instead this:
Should be:
Otherwise, you get the error
Undefined index: gradient