From 71dde7c6875c85e4bfbe6e2eadecaf0bbc9fd20c Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 23 Dec 2013 22:56:32 -0800 Subject: use case-insensitive array search for matching directory keywords with your own --- mod/dirprofile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/dirprofile.php b/mod/dirprofile.php index dd583a89e..01a0debfc 100644 --- a/mod/dirprofile.php +++ b/mod/dirprofile.php @@ -132,7 +132,7 @@ function dirprofile_init(&$a) { foreach($karr as $k) { if(strlen($out)) $out .= ', '; - if($marr && in_array($k,$marr)) + if($marr && in_arrayi($k,$marr)) $out .= '' . $k . ''; else $out .= $k; -- cgit v1.2.3