From 0ef0a7243fb712183321fdb6bb886fb5d79b0eb4 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Fri, 15 May 2026 16:38:37 +0100 Subject: Namespace fixes --- templates/center_image_comments.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/center_image_comments.php b/templates/center_image_comments.php index 4de7b87..2d93e20 100755 --- a/templates/center_image_comments.php +++ b/templates/center_image_comments.php @@ -9,6 +9,7 @@ * A specialized version of liberty/modules/mod_last_comments.php for fisheye */ use Bitweaver\Liberty\LibertyComment; +use Bitweaver\KernelTools; global $gQueryUser, $gBitUser, $gLibertySystem, $moduleParams; $params = $moduleParams['module_params']; @@ -34,7 +35,7 @@ if (!empty($params['pigeonholes'])) { if( !empty( $params['root_content_type_guid'] ) ) { if( empty($moduleTitle) && is_string( $params['root_content_type_guid'] ) ) { - $moduleTitle = $gLibertySystem->getContentTypeName( $params['root_content_type_guid'] ).' '.tra( 'Comments' ); + $moduleTitle = $gLibertySystem->getContentTypeName( $params['root_content_type_guid'] ).' '.KernelTools::tra( 'Comments' ); } $listHash['root_content_type_guid'] = $params['root_content_type_guid']; } else { -- cgit v1.3