Project

General

Profile

« Previous | Next » 

Revision 699

Added by thorn almost 17 years ago

menulink-module: fixed an issue with extern links

View differences:

index.php
69 69
		else $anchor = FALSE;
70 70
		if($target_page_id == -1) {
71 71
			if($extern!='') {
72
				$extern=rtrim($extern, '/');
73
				header("Location: $extern/".($anchor?'#'.$anchor:''));
72
				header("Location: $extern".($anchor?'#'.$anchor:''));
74 73
			}
75 74
		} else {
76 75
			// get link of target-page
......
106 105
// Display the template (no output filtering)
107 106
require(WB_PATH.'/templates/'.TEMPLATE.'/index.php');
108 107

  
109
?>
108
?>

Also available in: Unified diff