xhtml/xml and IE do not mix so well PITS # 00103
darcs-hash:20080623173043-982e4-5951fba93a2aa28f3e8e622167f6b33c1abc6949.gz
This commit is contained in:
		@@ -44,7 +44,7 @@ function common_server_error($msg, $code=500) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Show a user error
 | 
					# Show a user error
 | 
				
			||||||
function common_user_error($msg, $code=400) {
 | 
					function common_client_error($msg, $code=400) {
 | 
				
			||||||
	static $status = array(400 => 'Bad Request',
 | 
						static $status = array(400 => 'Bad Request',
 | 
				
			||||||
						   401 => 'Unauthorized',
 | 
											   401 => 'Unauthorized',
 | 
				
			||||||
						   402 => 'Payment Required',
 | 
											   402 => 'Payment Required',
 | 
				
			||||||
@@ -1017,7 +1017,7 @@ function common_negotiate_type($cprefs, $sprefs) {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	$bestq = 0;
 | 
						$bestq = 0;
 | 
				
			||||||
	$besttype = NULL;
 | 
						$besttype = "text/html";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	foreach(array_keys($combine) as $type) {
 | 
						foreach(array_keys($combine) as $type) {
 | 
				
			||||||
		if($combine[$type] > $bestq) {
 | 
							if($combine[$type] > $bestq) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user