System::match() now returns an array

This commit is contained in:
Deon George
2021-08-08 23:53:56 +10:00
parent 7922bc6a7a
commit 7ec01d778a
4 changed files with 5 additions and 5 deletions

View File

@@ -317,7 +317,7 @@ class Packet extends FTNBase
private function newHeader(Address $o): void
{
$date = Carbon::now();
$ao = Setup::findOrFail(config('app.id'))->system->match($o->zone);
$ao = Setup::findOrFail(config('app.id'))->system->match($o->zone)->first();
// Create Header
$this->header = [