Small fixes

This commit is contained in:
2026-02-13 10:41:20 +01:00
parent fd403f8520
commit 9fd6839878
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ class UploadFileProvider {
$invoiceFile = new InvoiceFile();
$invoiceFile->filename = $filename;
$invoiceFile->path = $path;
$invoiceFile->fullPath = $path;
return $invoiceFile;
} catch (\Exception $e) {
return null;

View File

@@ -9,7 +9,7 @@ class PageTextRepository {
$name = strtoupper($name);
$pageText = PageText::where(['name' => $name])->first();
if (null === $pageText) {
PageText::create(['name' => $name, 'content' => '']);
PageText::create(['name' => $name, 'content' => $name]);
return strtoupper($name);