Fixes for CI/CD
This commit is contained in:
@@ -316,7 +316,7 @@ class Product extends Model implements IDs
|
||||
static $default = NULL;
|
||||
if (! $go) {
|
||||
if (is_null($default))
|
||||
$default = Group::findOrFail(0); // All public users
|
||||
$default = Group::whereNull('parent_id')->firstOrFail(); // All public users
|
||||
|
||||
$go = $default;
|
||||
}
|
||||
|
Reference in New Issue
Block a user