mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Clean up for logging.
This commit is contained in:
parent
0ae2260951
commit
1944d8214e
@ -870,7 +870,7 @@ class BaseController extends Controller
|
|||||||
$query->where('user_id', '=', auth()->user()->id);
|
$query->where('user_id', '=', auth()->user()->id);
|
||||||
}
|
}
|
||||||
elseif(in_array($this->entity_type,[Design::class, GroupSetting::class, PaymentTerm::class])){
|
elseif(in_array($this->entity_type,[Design::class, GroupSetting::class, PaymentTerm::class])){
|
||||||
nlog($this->entity_type);
|
// nlog($this->entity_type);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$query->where('user_id', '=', auth()->user()->id)->orWhere('assigned_user_id', auth()->user()->id);
|
$query->where('user_id', '=', auth()->user()->id)->orWhere('assigned_user_id', auth()->user()->id);
|
||||||
|
Loading…
Reference in New Issue
Block a user