From dcaaf007cfb242073b18d2e23799f347b345ce51 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 23 Jun 2026 10:47:03 -0500 Subject: [PATCH] fix(dashboard): translate COM_ACTIONLOGS_DISABLED stored in ip_address column Joomla stores the literal string 'COM_ACTIONLOGS_DISABLED' in the action_logs ip_address column when IP logging is turned off. Show 'IP logging off' instead of the raw language key. --- .../com_mokosuiteclient/admin/tmpl/dashboard/default.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/packages/com_mokosuiteclient/admin/tmpl/dashboard/default.php b/source/packages/com_mokosuiteclient/admin/tmpl/dashboard/default.php index 6fd534b4..9f6c4f80 100644 --- a/source/packages/com_mokosuiteclient/admin/tmpl/dashboard/default.php +++ b/source/packages/com_mokosuiteclient/admin/tmpl/dashboard/default.php @@ -404,7 +404,8 @@ $actionLogsEnabled = Joomla\CMS\Component\ComponentHelper::isEnabled('com_action escape($login->username ?? ''); ?> - escape($login->ip_address ?? ''); ?> + ip_address ?? ''; ?> + escape($ip); ?>IP logging off log_date, Text::_('DATE_FORMAT_LC4')); ?>