Skip to content
Snippets Groups Projects
Commit afadde64 authored by David Siegfried's avatar David Siegfried
Browse files

use correnct resource, re #4538

Merge request studip/studip!3344
parent 57a9e880
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,9 @@
</thead>
<tbody>
<? foreach ($permissions as $permission): ?>
<?
$resource = $permission->resource->getDerivedClassInstance();
?>
<tr>
<td>
<input type="checkbox" name="resource_ids[]"
......@@ -207,7 +210,7 @@
title="<?= htmlReady(sprintf(_('Berechtigung für %s auswählen'), $resource)) ?>">
</td>
<td>
<?= htmlReady($permission->resource->getDerivedClassInstance()) ?>
<?= htmlReady($resource) ?>
</td>
<td>
<?= htmlReady($permission->perms) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment