Commit 41d5f05a393db8754acbad6eacf2ec4d276e7659

Authored by Conrad Vermeulen
1 parent 2c11db8d

KTS-1687

"Double quote to single quote conversion"
Fixed.
Reviewed by: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6212 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 3 additions and 3 deletions
action.php
... ... @@ -50,16 +50,16 @@ class KTActionDispatcher extends KTStandardDispatcher {
50 50 $this->error = false;
51 51 $action = KTUtil::arrayGet($_SERVER, 'PATH_INFO');
52 52 $action = trim($action);
53   - $action = trim($action, "/");
  53 + $action = trim($action, '/');
54 54 if (empty($action)) {
55 55 $this->error = true;
56   - $this->errorPage(_kt("No action given"));
  56 + $this->errorPage(_kt('No action given'));
57 57 }
58 58 $oRegistry =& KTActionRegistry::getSingleton();
59 59 $aActionInfo = $oRegistry->getActionByNsname($action);
60 60 if (empty($aActionInfo)) {
61 61 $this->error = true;
62   - $this->errorPage("No such action exists in KnowledgeTree");
  62 + $this->errorPage(_kt('No such action exists in KnowledgeTree'));
63 63 }
64 64 $sFilename = $aActionInfo[1];
65 65 if (!empty($sFilename)) {
... ...