Skip to content

Commit

Permalink
Add fix for cron
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmr committed Apr 11, 2024
1 parent e52113c commit 7f17d20
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions inc/import.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ public static function importCron($task, $supplier)
"line" => $data,
"display" => false];

if (!empty($compSerial)) {
$options['sn'] = $compSerial;
}
if (!empty($otherserial)) {
$options['pn'] = $otherserial;
}

if ($suppliername == PluginManufacturersimportsConfig::DELL
|| $suppliername == PluginManufacturersimportsConfig::HP) {
$supplierclass = "PluginManufacturersimports" . $suppliername;
Expand Down

0 comments on commit 7f17d20

Please sign in to comment.