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

prevent php-warnings, closes #2237

Closes #2237

Merge request studip/studip!1470
parent e55a7b7b
No related branches found
No related tags found
1 merge request!4Draft: Icon creation
......@@ -8,7 +8,7 @@ if ($file->isDownloadable($GLOBALS['user']->id)) {
}
?>
<tr class="<? if ($file->getLastChangeDate() > $last_visitdate && ($file->getUserId() !== $GLOBALS['user']->id)) echo 'new'; ?>"
id="fileref_<?= htmlReady($table_id) ?>_<?= htmlReady($file->getId()) ?>"
<?= !empty($table_id) ? 'id="' . htmlReady("fileref_{$table_id}_{$file->getId()}") . '"' : '' ?>
role="row"
data-permissions="<?= implode($permissions) ?>">
<? if ($show_bulk_checkboxes) : ?>
......
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