function args reversed on duplicate zid detection.
This commit is contained in:
		
							
								
								
									
										2
									
								
								boot.php
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.php
									
									
									
									
									
								
							| @@ -2113,7 +2113,7 @@ function zid_init(&$a) { | |||||||
|  |  | ||||||
|  |  | ||||||
| function zid($s,$force = false) { | function zid($s,$force = false) { | ||||||
| 	if(! strlen($s) || strpos('zid=',$s)) | 	if(! strlen($s) || strpos($s,'zid=')) | ||||||
| 		return $s; | 		return $s; | ||||||
| 	$has_params = ((strpos($s,'?')) ? true : false); | 	$has_params = ((strpos($s,'?')) ? true : false); | ||||||
| 	$num_slashes = substr_count($s,'/'); | 	$num_slashes = substr_count($s,'/'); | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| 2013-05-28.327 | 2013-05-29.328 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user