升级到v5128lts
This commit is contained in:
1 parent
a139519dec
commit
dbefa7f320
30 files changed
+184
-117
No files matched your search
@@ -299,9 +299,9 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
||||
call_user_func_array([$this, 'base'], [ & $query]);
|
||||
}
|
||||
|
||||
$globalScope = is_array($useBaseQuery) && $useBaseQuery ?: $this->globalScope;
|
||||
$globalScope = is_array($useBaseQuery) && $useBaseQuery ? $useBaseQuery : $this->globalScope;
|
||||
|
||||
if ($globalScope) {
|
||||
if ($globalScope && false !== $useBaseQuery) {
|
||||
$query->scope($globalScope);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user