瀏覽代碼

Hotfix Typo

Dennis 3 年之前
父節點
當前提交
87f47b9a74
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/Admin/InvoiceController.php

+ 1 - 1
app/Http/Controllers/Admin/InvoiceController.php

@@ -16,7 +16,7 @@ class InvoiceController extends Controller
         $zip = new ZipArchive;
         $zip = new ZipArchive;
         $zip_safe_path = storage_path('invoices.zip');
         $zip_safe_path = storage_path('invoices.zip');
         $res = $zip->open($zip_safe_path, ZipArchive::CREATE | ZipArchive::OVERWRITE);
         $res = $zip->open($zip_safe_path, ZipArchive::CREATE | ZipArchive::OVERWRITE);
-        $result = $dthis::rglob(storage_path('app/invoice/*'));
+        $result = $this::rglob(storage_path('app/invoice/*'));
         if ($res === TRUE) {
         if ($res === TRUE) {
             $zip->addFromString("1. Info.txt", __("Created at") . " " . now()->format("d.m.Y"));
             $zip->addFromString("1. Info.txt", __("Created at") . " " . now()->format("d.m.Y"));
             foreach ($result as $file) {
             foreach ($result as $file) {