Commit 41d5f05a393db8754acbad6eacf2ec4d276e7659
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,16 +50,16 @@ class KTActionDispatcher extends KTStandardDispatcher { | ||
| 50 | $this->error = false; | 50 | $this->error = false; |
| 51 | $action = KTUtil::arrayGet($_SERVER, 'PATH_INFO'); | 51 | $action = KTUtil::arrayGet($_SERVER, 'PATH_INFO'); |
| 52 | $action = trim($action); | 52 | $action = trim($action); |
| 53 | - $action = trim($action, "/"); | 53 | + $action = trim($action, '/'); |
| 54 | if (empty($action)) { | 54 | if (empty($action)) { |
| 55 | $this->error = true; | 55 | $this->error = true; |
| 56 | - $this->errorPage(_kt("No action given")); | 56 | + $this->errorPage(_kt('No action given')); |
| 57 | } | 57 | } |
| 58 | $oRegistry =& KTActionRegistry::getSingleton(); | 58 | $oRegistry =& KTActionRegistry::getSingleton(); |
| 59 | $aActionInfo = $oRegistry->getActionByNsname($action); | 59 | $aActionInfo = $oRegistry->getActionByNsname($action); |
| 60 | if (empty($aActionInfo)) { | 60 | if (empty($aActionInfo)) { |
| 61 | $this->error = true; | 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 | $sFilename = $aActionInfo[1]; | 64 | $sFilename = $aActionInfo[1]; |
| 65 | if (!empty($sFilename)) { | 65 | if (!empty($sFilename)) { |