Fix TicProcess, save() returns a bool, not the object
This commit is contained in:
parent
3555e5a91c
commit
89735a6ce2
@ -63,8 +63,7 @@ class TicProcess implements ShouldQueue
|
||||
$to = new Tic;
|
||||
|
||||
try {
|
||||
$fo = $to->load($this->file)
|
||||
->save();
|
||||
$fo = $to->load($this->file);
|
||||
|
||||
} catch (\Exception $e) {
|
||||
Log::error(sprintf('%s:! Error loading TIC file [%s] (%s)',self::LOGKEY,$rel_name,$e->getMessage()));
|
||||
@ -72,6 +71,8 @@ class TicProcess implements ShouldQueue
|
||||
return;
|
||||
}
|
||||
|
||||
$fo->save();
|
||||
|
||||
Log::info(sprintf('%s:= Processed [%s] storing [%s] as id [%d]',self::LOGKEY,$this->file,$to->file->name,$to->file->id));
|
||||
|
||||
if (config('fido.packet_keep')) {
|
||||
|
Loading…
Reference in New Issue
Block a user