don't break when base_href=''
This commit is contained in:
		
							parent
							
								
									ca675fcbb0
								
							
						
					
					
						commit
						ef5d7474c5
					
				@ -79,7 +79,7 @@ function make_link($page=null, $query=null) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(is_null($query)) {
 | 
						if(is_null($query)) {
 | 
				
			||||||
		return "$base/$page";
 | 
							return str_replace("//", "/", "$base/$page");
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	else {
 | 
						else {
 | 
				
			||||||
		if(strpos($base, "?")) {
 | 
							if(strpos($base, "?")) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user