From 9d9df1d444b954f4bfc0eea40310a645239e2e27 Mon Sep 17 00:00:00 2001
From: root <creecros@gmail.com>
Date: Fri, 17 Feb 2023 13:56:45 +0000
Subject: [PATCH] Fix Export found by @samjunction

---
 Export/MetaTaskExport.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Export/MetaTaskExport.php b/Export/MetaTaskExport.php
index 5eccb0f..6671fab 100644
--- a/Export/MetaTaskExport.php
+++ b/Export/MetaTaskExport.php
@@ -177,7 +177,7 @@ protected function findMissingFields($task_id, $project_id)
         
         foreach ($custom_fields as $field) {
             if (!in_array($field, $meta_fields)) {
-                $metadata['$field'] = '';
+                $metadata[$field] = '';
             }
         }