summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 17:50:22 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 17:50:22 +0000
commitf9b0ddbc72c7a6bb860f2858cc13dcfdfba35d1c (patch)
tree4e4fa45f142aa735cf7af0e2a57036f5346f03a4
parent64ca99495659cc85c522398ce89169ac7bb76acf (diff)
downloadwiki-f9b0ddbc72c7a6bb860f2858cc13dcfdfba35d1c.tar.gz
wiki-f9b0ddbc72c7a6bb860f2858cc13dcfdfba35d1c.tar.bz2
wiki-f9b0ddbc72c7a6bb860f2858cc13dcfdfba35d1c.zip
leading bracket missed after adding KernelTools:: namespace
-rwxr-xr-xedit_book.php4
1 files 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;
}