Skip to content

Commit 85f0405

Browse files
committed
fix mailer cache pb
@jguillaumesio fix
1 parent 038a3a1 commit 85f0405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/mailer/MailerQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function save($queue = true, $dequeue = true): void {
9292
}
9393

9494
private function saveContent($part): void {
95-
$content = "return " . UArray::asPhpArray($this->{$part}, 'array') . ';';
95+
$content = "<?php return " . UArray::asPhpArray($this->{$part}, 'array') . ';';
9696
CacheManager::$cache->store($this->rootKey . $part, $content);
9797
}
9898

0 commit comments

Comments
 (0)