v1.2.2 #5
@ -71,7 +71,7 @@ abstract class AbstractConverter implements ConverterContract
|
|||||||
*/
|
*/
|
||||||
protected function setVariables(): static
|
protected function setVariables(): static
|
||||||
{
|
{
|
||||||
if ($this->collection->variable) {
|
if (isset($this->collection?->variable)) {
|
||||||
foreach ($this->collection->variable as $var) {
|
foreach ($this->collection->variable as $var) {
|
||||||
$this->vars["{{{$var->key}}}"] = $var->value;
|
$this->vars["{{{$var->key}}}"] = $var->value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user