cqpCow 1 gadu atpakaļ
vecāks
revīzija
3c44b0c9c9
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/Service/JRFIDServerService.php

+ 2 - 2
app/Service/JRFIDServerService.php

@@ -451,8 +451,8 @@ class JRFIDServerService extends Service
         $post = [
             'id' => $data['id'],
             'type' => $data['type'],
-            'contract_no' => $data['contract_no'] ?? "",
-            'drawing_no' => $data['drawing_no'] ?? "",
+            'contract_no' => $data['contract_no'] ?? null,
+            'drawing_no' => $data['drawing_no'] ?? null,
         ];
 
         list($status,$result) = $this->post_helper($url,json_encode($post),$param['header']);