mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-02-10 13:18:28 +00:00
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…
x
Reference in New Issue
Block a user