Fix packet:info command when using system, fix adding clrghouz to path for echomail

This commit is contained in:
2023-06-23 16:29:56 +10:00
parent b1b86ca04a
commit 0eca20ebdd
3 changed files with 4 additions and 5 deletions

View File

@@ -170,7 +170,7 @@ class System extends Model
* @param int $type
* @return Collection
*/
public function match(Zone $o,int $type=(Address::NODE_HC|Address::NODE_ACTIVE|Address::NODE_PVT|Address::NODE_POINT)): Collection
public function match(Zone $o,int $type=(Address::NODE_NC|Address::NODE_HC|Address::NODE_ACTIVE|Address::NODE_PVT|Address::NODE_POINT)): Collection
{
return $this->addresses
->where('zone_id',$o->id)