Skip to content

Commit

Permalink
Fixed fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
GodMod committed Feb 19, 2019
1 parent b55da8c commit 3d4f01b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/core.functions.php
Expand Up @@ -152,9 +152,7 @@ function get_sortedids($tosort, $order, $sort_order){
function redirect($url='', $return=false, $extern=false, $blnShowPage=true, $strContent=""){
if($url == "") $url = registry::get_const('controller_path_plain');

$outurl = (registry::fetch('user')->removeSIDfromString($url));

$out = (!$extern) ? (registry::register('environment')->link.str_replace('&', '&', $url)) : $outurl;
$out = (!$extern) ? (registry::register('environment')->link.str_replace('&', '&', $url)) : registry::fetch('user')->removeSIDfromString($url);

if ($return){
return $out;
Expand Down Expand Up @@ -1541,4 +1539,4 @@ function get_tag_blacklist(){
global $TAG_BLACKLIST;
return $TAG_BLACKLIST;
}
?>
?>

0 comments on commit 3d4f01b

Please sign in to comment.