From 41d5f05a393db8754acbad6eacf2ec4d276e7659 Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Tue, 13 Feb 2007 09:36:56 +0000 Subject: [PATCH] KTS-1687 "Double quote to single quote conversion" Fixed. Reviewed by: Kevin Fourie --- action.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.php b/action.php index 9dcab46..8737fdd 100644 --- a/action.php +++ b/action.php @@ -50,16 +50,16 @@ class KTActionDispatcher extends KTStandardDispatcher { $this->error = false; $action = KTUtil::arrayGet($_SERVER, 'PATH_INFO'); $action = trim($action); - $action = trim($action, "/"); + $action = trim($action, '/'); if (empty($action)) { $this->error = true; - $this->errorPage(_kt("No action given")); + $this->errorPage(_kt('No action given')); } $oRegistry =& KTActionRegistry::getSingleton(); $aActionInfo = $oRegistry->getActionByNsname($action); if (empty($aActionInfo)) { $this->error = true; - $this->errorPage("No such action exists in KnowledgeTree"); + $this->errorPage(_kt('No such action exists in KnowledgeTree')); } $sFilename = $aActionInfo[1]; if (!empty($sFilename)) { -- libgit2 0.21.4