mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
minor fixes
This commit is contained in:
parent
08d2250ca8
commit
7376702748
@ -75,7 +75,7 @@ trait UserNotifies
|
|||||||
private function addSpecialUserPermissionForEntity($entity, array $required_permissions) :array
|
private function addSpecialUserPermissionForEntity($entity, array $required_permissions) :array
|
||||||
{
|
{
|
||||||
|
|
||||||
array_push($required_permissions, ["all_notifications"]);
|
array_merge($required_permissions, ["all_notifications"]);
|
||||||
|
|
||||||
switch ($entity) {
|
switch ($entity) {
|
||||||
case ($entity instanceof Payment || $entity instanceof Client): //we pass client also as this is the proxy for Payment Failures (ie, there is no payment)
|
case ($entity instanceof Payment || $entity instanceof Client): //we pass client also as this is the proxy for Payment Failures (ie, there is no payment)
|
||||||
|
Loading…
Reference in New Issue
Block a user