29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-28 16:13:42 +00:00

[4.4] Fix error editor not found in contenthistory modal (#42458)

* Fix error editor not found in contenthistory modal

* cs

* update as required
This commit is contained in:
Christiane Maier-Stadtherr 2023-12-12 11:54:24 +01:00 committed by GitHub
parent 51f5c5cebd
commit 6a177cbea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ $wa->useScript('multiselect')
<?php endif; ?>
</td>
<td class="d-none d-md-table-cell">
<?php echo htmlspecialchars($item->editor); ?>
<?php echo empty($item->editor) ? $item->editor_user_id : htmlspecialchars($item->editor); ?>
</td>
<td class="text-end">
<?php echo number_format((int) $item->character_count, 0, Text::_('DECIMALS_SEPARATOR'), Text::_('THOUSANDS_SEPARATOR')); ?>