avoid excess ampersands
This commit is contained in:
		
							parent
							
								
									1d389f0156
								
							
						
					
					
						commit
						0039aafe94
					
				| @ -38,7 +38,7 @@ function make_link(?string $page=null, ?string $query=null, ?string $fragment=nu | ||||
|         $parts['path'] = "$install_dir/$page"; | ||||
|     } else { | ||||
|         $parts['path'] = "$install_dir/index.php"; | ||||
|         $query = "q=$page&$query"; | ||||
|         $query = empty($query) ? "q=$page" : "q=$page&$query"; | ||||
|     } | ||||
|     $parts['query'] = $query;  // http_build_query($query);
 | ||||
|     $parts['fragment'] = $fragment;  // http_build_query($hash);
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user