Fix for test failing introduced in df28732
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 42s Details
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m54s Details
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s Details

This commit is contained in:
Deon George 2024-06-18 18:01:32 +09:30
parent c28392b2b6
commit ef2e208fde
1 changed files with 2 additions and 2 deletions

View File

@ -742,7 +742,7 @@ class Address extends Model
public function getIsDefaultRouteAttribute(): bool
{
return ! is_null($this->session('default'));
return (! is_null($x=$this->session('default'))) && $x;
}
public function getIsDownAttribute(): bool
@ -752,7 +752,7 @@ class Address extends Model
public function getIsHostedAttribute(): bool
{
return ! is_null($this->getPassSessionAttribute());
return strlen($this->getPassSessionAttribute()) > 0;
}
public function getIsHoldAttribute(): bool