summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-15 16:40:05 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-15 16:40:05 +0100
commitc8aba9e4d5ff8fd2f13ec4e96c206c726df568b0 (patch)
treed2074fcd322ff094c51971b22e24bec2354e2070 /includes
parent58cad39ab806494dbc6f440ce4f35793f5d7f20c (diff)
downloadliberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.tar.gz
liberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.tar.bz2
liberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.zip
Namespace fixes
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/structure_display_inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/structure_display_inc.php b/includes/structure_display_inc.php
index 026b4e8..6c3e498 100755
--- a/includes/structure_display_inc.php
+++ b/includes/structure_display_inc.php
@@ -11,6 +11,7 @@
/**
* required setup
*/
+use Bitweaver\KernelTools;
global $gContent;
include_once( LIBERTY_PKG_INCLUDE_PATH.'lookup_content_inc.php' );
if( is_object( $gContent ) && $gContent->isValid() ) {
@@ -18,5 +19,5 @@ if( is_object( $gContent ) && $gContent->isValid() ) {
$gBitSystem->setCanonicalLink( $gContent->getDisplayUrl() );
include $gContent->getRenderFile();
} else {
- $gBitSystem->fatalError( tra( 'Page cannot be found' ), null, null, HttpStatusCodes::HTTP_GONE );
+ $gBitSystem->fatalError( KernelTools::tra( 'Page cannot be found' ), null, null, HttpStatusCodes::HTTP_GONE );
}