Преглед изворни кода

padded istat to 1939 chars

FabioFratini пре 10 месеци
родитељ
комит
4c94f6c812
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Http/Livewire/Istat.php

+ 1 - 1
app/Http/Livewire/Istat.php

@@ -908,7 +908,7 @@ class Istat extends Component
                     } catch (\Exception $e) {
                         Log::error('Error in section 31-40 for item ' . $item->id . ': ' . $e->getMessage());
                     }
-
+                    $item_data = str_pad($item_data, 1939, ' ');
                     $txt[] = $item_data;
                 } catch (\Exception $e) {
                     Log::error('Major error processing item ' . $item->id . ': ' . $e->getMessage());