Commit 871bc11c by Scott

Fixed URLs not being properly mapped

Fixes #125 and #127
parent 180315a4
......@@ -146,7 +146,8 @@
reset($requestparts);
$key = key($requestparts);
$replacement = isset($requestparts[$key]) ? array_search($requestparts[$key], qa_get_request_map()) : false;
$requestkey = isset($requestparts[$key]) ? $requestparts[$key] : '';
$replacement = array_search($requestkey, qa_get_request_map());
if ($replacement !== false)
$requestparts[$key] = $replacement;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment