summaryrefslogtreecommitdiffstats
path: root/modules-available/passthrough/hooks/locations-column.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/passthrough/hooks/locations-column.inc.php')
-rw-r--r--modules-available/passthrough/hooks/locations-column.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/passthrough/hooks/locations-column.inc.php b/modules-available/passthrough/hooks/locations-column.inc.php
index 3d12a0f8..2c09bd73 100644
--- a/modules-available/passthrough/hooks/locations-column.inc.php
+++ b/modules-available/passthrough/hooks/locations-column.inc.php
@@ -23,7 +23,7 @@ class PassthroughLocationColumn extends AbstractLocationColumn
public function getEditUrl(int $locationId): string
{
- if (!User::hasPermission('.passthrough.assign', $locationId))
+ if (!User::hasPermission('.passthrough.edit.location', $locationId))
return '';
return '?do=passthrough&show=assignlocation&locationid=' . $locationId;
}