Skip to content

Commit f0eddc4

Browse files
authored
[5.3] Correct author column when user is deleted (joomla#45179)
1 parent 0b54ffe commit f0eddc4

File tree

1 file changed

+1
-1
lines changed
  • administrator/components/com_content/tmpl/articles

1 file changed

+1
-1
lines changed

administrator/components/com_content/tmpl/articles/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
<?php echo $this->escape($item->access_level); ?>
322322
</td>
323323
<td class="small d-none d-md-table-cell">
324-
<?php if ((int) $item->created_by != 0) : ?>
324+
<?php if (!empty($item->author_name)) : ?>
325325
<a href="<?php echo Route::_('index.php?option=com_users&task=user.edit&id=' . (int) $item->created_by); ?>">
326326
<?php echo $this->escape($item->author_name); ?>
327327
</a>

0 commit comments

Comments
 (0)