xielin пре 5 година
родитељ
комит
178e78385a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Repositories/BehaviorRecordRepositories.php

+ 1 - 1
app/Repositories/BehaviorRecordRepositories.php

@@ -215,7 +215,7 @@ class BehaviorRecordRepositories
             $data['release_status'] = $comment['release_status'];
             $data['generation_quantity'] = $comment['generation_quantity'];
             $data['quantity_issued'] = $comment['quantity_issued'];
-            $data['current_comment_id'] = $comment['comment_id'];
+            $data['current_comment_id'] = $comment['current_comment_id'];
             $data['superior_comment_id'] = $comment['parent_comment_id'];
             $this->generalLedgerRecord->create($data);
             $behavior = Behavior::where('virus_behavior_id',$comment['virus_behavior_id'])->first();