From cd9ea115f85fd5bc4d55cec06a480cc21d721e15 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 29 May 2013 16:31:07 -0700 Subject: function args reversed on duplicate zid detection. --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 8157760e5..15e442d65 100755 --- a/boot.php +++ b/boot.php @@ -2113,7 +2113,7 @@ function zid_init(&$a) { function zid($s,$force = false) { - if(! strlen($s) || strpos('zid=',$s)) + if(! strlen($s) || strpos($s,'zid=')) return $s; $has_params = ((strpos($s,'?')) ? true : false); $num_slashes = substr_count($s,'/'); -- cgit v1.2.3