Skip to content

Commit

Permalink
Issue #56 fix
Browse files Browse the repository at this point in the history
Fixing #56
  • Loading branch information
bednee committed Oct 7, 2016
1 parent 66a7994 commit 62e5021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Core/Translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private function lookUpInCache($uri) {
$row = $db->fetch($q);
if ($row) {
if (strcmp($row['url'],$xuri)!==0) { // we've got our $tempuri, not $url -> let's redirect
Functions::redirect(Functions::prepareforRedirect($row['url'].(empty($tempuri[1])?'':'?'.$tempuri[1]),self::$conf));
Functions::redirect(Functions::prepareforRedirect($row['url'].(empty($tempuri[1])?'':'?'.$tempuri[1]),self::$conf),301);
} else {
$cachedparams = Functions::cache2params($row['params']);
}
Expand Down

1 comment on commit 62e5021

@mbrodala
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bednee Could you make a release with this change?

Please sign in to comment.