From f9b0ddbc72c7a6bb860f2858cc13dcfdfba35d1c Mon Sep 17 00:00:00 2001 From: lsces Date: Fri, 27 Mar 2026 17:50:22 +0000 Subject: leading bracket missed after adding KernelTools:: namespace --- edit_book.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edit_book.php b/edit_book.php index 945e9cf..8971c58 100755 --- a/edit_book.php +++ b/edit_book.php @@ -71,7 +71,7 @@ if( $gContent->isValid() ){ if( isset($_REQUEST["createstructure"]) ) { if ((empty($_REQUEST['name']))) { - $gBitSmarty->assign('msg', KernelTools::tra"You must specify a name.")); + $gBitSmarty->assign('msg', KernelTools::tra( "You must specify a name.")); $gBitSystem->display( 'error.tpl' , null, array( 'display_mode' => 'edit' )); die; } @@ -95,7 +95,7 @@ if( isset($_REQUEST["createstructure"]) ) { $structure_id = $gStructure->storeNode( $structureHash ); //Cannot create a structure if a structure already exists if (!isset($structure_id)) { - $gBitSmarty->assign('msg', $_REQUEST['name'] . " " . KernelTools::tra"page not added (Exists)")); + $gBitSmarty->assign('msg', $_REQUEST['name'] . " " . KernelTools::tra( "page not added (Exists)")); $gBitSystem->display( 'error.tpl' , null, array( 'display_mode' => 'edit' )); die; } -- cgit v1.3