Skip to content

Commit

Permalink
IM-1941: Removed protocol from ShortURL generated url
Browse files Browse the repository at this point in the history
  • Loading branch information
m038 committed Feb 16, 2015
1 parent db8af03 commit 879ad30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions newscoop/admin-files/articles/preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
$errorStr = $url->getMessage();
}
$url .= '?' . $accessParams;
$url = preg_replace('@^https?://@i', $scheme, $url);
}

$selectedLanguage = (int)CampRequest::GetVar('f_language_selected');
Expand Down

0 comments on commit 879ad30

Please sign in to comment.