aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirprofile.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-23 22:56:32 -0800
committerfriendica <info@friendica.com>2013-12-23 22:56:32 -0800
commit71dde7c6875c85e4bfbe6e2eadecaf0bbc9fd20c (patch)
tree3cd31db5480143b571055373b8f5b9514dc54be7 /mod/dirprofile.php
parent80879369e7f11a5ffd69e34e9797db47f76bfc24 (diff)
downloadvolse-hubzilla-71dde7c6875c85e4bfbe6e2eadecaf0bbc9fd20c.tar.gz
volse-hubzilla-71dde7c6875c85e4bfbe6e2eadecaf0bbc9fd20c.tar.bz2
volse-hubzilla-71dde7c6875c85e4bfbe6e2eadecaf0bbc9fd20c.zip
use case-insensitive array search for matching directory keywords with your own
Diffstat (limited to 'mod/dirprofile.php')
-rw-r--r--mod/dirprofile.php2
1 files changed, 1 insertions, 1 deletions
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 .= '<strong>' . $k . '</strong>';
else
$out .= $k;