Fix undefined variable $userId notice
This commit is contained in:
parent
c54c5af898
commit
6749120fbf
|
@ -84,7 +84,7 @@ $listDirn = $this->escape($this->state->get('list.direction'));
|
|||
<?php
|
||||
endif; ?>
|
||||
|
||||
<?php if ($canEdit || ($canEditOwn && $item->created_by == $userId)) :
|
||||
<?php if ($canEdit || ($canEditOwn && $item->created_by == $user->id)) :
|
||||
?>
|
||||
<div class="icons list-group-item">
|
||||
<?php echo HTMLHelper::_('weblinkicon.edit', $item, $item->params); ?>
|
||||
|
|
Loading…
Reference in New Issue